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



--- Comment #2 from Walter Bright <bugzi...@digitalmars.com> 2013-10-04 
12:36:19 PDT ---
Interestingly, when the template is removed, we get a correct error message:

struct S {
    struct S2 {
        void fn () {}
    }
}

void main () {
    S s;
    s.S2.fn();  // Error: need 'this' for 'fn' of type 'void()'
}

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

Reply via email to