[Issue 7249] 2.058 regression: "no size yet for forward reference" when using this.init.tupleof

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 8 15:05:23 PST 2012


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



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2012-01-08 15:05:22 PST ---
This causes by fixing bug 7190.

I think this is similar problem like follows:

struct S
{
    int x;
    alias typeof(this.init.sizeof) T;
    //  Error: struct test.S no size yet for forward reference
}

tupleof property requires complete semantic analysis to get the fields of a
type.
So it is meaningful forward reference, IMHO.

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


More information about the Digitalmars-d-bugs mailing list