digitalmars.D.bugs - [Issue 7701] New: Internal error on access of instance fn on nested templated struct type
- d-bugmail puremagic.com (30/30) Mar 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7701
- d-bugmail puremagic.com (11/11) May 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7701
- d-bugmail puremagic.com (15/15) Oct 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7701
- d-bugmail puremagic.com (12/12) Oct 14 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7701
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 puremagic.com ReportedBy: michal.minich gmail.com 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: -------
Mar 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7701 Robert Clipsham <robert octarineparrot.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice CC| |robert octarineparrot.com 16:32:34 BST --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7701 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: -------
Oct 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7701 Denis Shelomovskij <verylonglogin.reg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |verylonglogin.reg gmail.com Resolution| |DUPLICATE 14:17:48 MSD --- *** This issue has been marked as a duplicate of issue 7645 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 14 2013