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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au


--- Comment #2 from Don <clugd...@yahoo.com.au> 2011-12-21 14:35:39 PST ---
Reduced test case suggests it's related to typeof():

auto fx() {
    struct S {
        void get() {}
    }
    return S.init;
}
void main() {
    //auto w = fx(); // OK
    typeof(fx()) z;  // fails!
}

Again, adding any attributes to get() removes the bug -- even though get() is
never used.

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

Reply via email to