[Issue 7701] New: Internal error on access of instance fn on nested templated struct type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 13 06:27:39 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7701
Summary: Internal error on access of instance fn on nested
templated struct type
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: michal.minich at gmail.com
--- Comment #0 from Michal Minich <michal.minich at gmail.com> 2012-03-13 06:27:48 PDT ---
dmd 2.058
struct S {
struct S2 (T) {
void fn () {}
}
}
void main () {
S s;
s.S2!int.fn(); // Internal error: e2ir.c 688
}
happens only when no other error is in file
there should be some error message because fn is not static
when fn is static it compiles file as it should
--
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