digitalmars.D.bugs - [Issue 6918] New: Internal error: e2ir.c 1242
- d-bugmail puremagic.com (50/51) Nov 09 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6918
- d-bugmail puremagic.com (28/28) Nov 09 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6918
- d-bugmail puremagic.com (11/11) Jun 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6918
http://d.puremagic.com/issues/show_bug.cgi?id=6918 Summary: Internal error: e2ir.c 1242 Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: tobias pankrath.net PST --- I'd say, I found another compiler bug. ----------------- import std.stdio; template Struct(alias bar) { struct S { void foo() { FancyFunc!(this, bar).fn(); } } } template FancyFunc(alias context, alias f) { void fn() { writeln("before"); f(context); writeln("after"); } } void bar(CT)(CT context) { writeln(CT.stringof); } void main() { alias Struct!(bar).S MyStruct; MyStruct s = MyStruct(); s.foo(); } ---------------------- Compile it with dmd and dmd will print:Internal error: e2ir.c 1242-- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 09 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6918 Trass3r <mrmocool gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmocool gmx.de Little bit simplified: struct S(alias bar) { void foo() { fn!(this, bar)(); } } void fn(alias context, alias f)() { f(context); } void bar(CT)(CT context) { } void main() { alias S!bar MyStruct; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 09 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6918 Tobias Pankrath <tobias pankrath.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED PDT --- Seems to be fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 24 2012