Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
March 13, 2012 [Issue 7701] New: Internal error on access of instance fn on nested templated struct type | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Michal Minich <michal.minich@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: ------- |
May 02, 2012 [Issue 7701] Internal error on access of instance fn on nested templated struct type | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | 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 --- Comment #1 from Robert Clipsham <robert@octarineparrot.com> 2012-05-02 16:32:34 BST --- See also: bug #7847 and bug #7851 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 04, 2013 [Issue 7701] ICE(e2ir.c) on access of instance fn on nested templated struct type | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | http://d.puremagic.com/issues/show_bug.cgi?id=7701 --- Comment #2 from Walter Bright <bugzilla@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: ------- |
October 14, 2013 [Issue 7701] ICE(e2ir.c) on access of instance fn on nested templated struct type | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | 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 --- Comment #3 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-10-14 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: ------- |
Copyright © 1999-2021 by the D Language Foundation