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



--- Comment #1 from Andrei Alexandrescu <and...@metalanguage.com> 2009-09-26 
12:24:59 PDT ---
This code does not compile:

class A {
    void fun() {
        auto ci = classinfo;
    }
}

But this does:

class A {
    void fun() {
        auto ci = this.classinfo;
    }
}

And this does too:

class A {
    void fun() {
        auto ci = A.classinfo;
    }
}

No other entity in D has these weird lookup rules.

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

Reply via email to