[Issue 7701] ICE(e2ir.c) on access of instance fn on nested templated struct type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 4 12:36:20 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7701
--- Comment #2 from Walter Bright <bugzilla at 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: -------
More information about the Digitalmars-d-bugs
mailing list