http://d.puremagic.com/issues/show_bug.cgi?id=4886



--- Comment #2 from Shin Fujishiro <rsi...@gmail.com> 2010-09-22 22:04:28 PDT 
---
Created an attachment (id=764)
Patch against dmd r680, fixes resolveHelper()

This patch fixes the reported issue and bug 2953 (D2).  It passed dmd, druntime
and phobos tests.

The patch also fixes the following problems:
--------------------
struct R
{
    alias int T;
}
struct S
{
    R r;
    alias r this;
}
S.T x;                  // (10)
int[S.r.offsetof] y;    // (11)
--------------------
% dmd -o- -c test.d
test.d(10): Error: S.T is used as a type
test.d(11): Error: no property 'offsetof' for type 'R'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to