[Issue 9091] Perhaps another forward referencing bug.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 30 20:04:34 PST 2012


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



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2012-11-30 20:04:31 PST ---
Furthermore reduced case:

template isVariable(X...) if (X.length == 1)
{ enum isVariable = true; }

class C
{
    int x;
    void func()
    {
        enum is_x = isVariable!(__traits(getMember, C, "x"));
    }
}

I posted a report bug 9100 to explain the current semantic analysis weird
behavior on template argument. I think that it is the root cause of this bug.

-- 
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