[Issue 1144] ICE(template.c) template mixin causes DMD crash
https://issues.dlang.org/show_bug.cgi?id=1144 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Version|1.051 |D1 --
[Issue 1144] ICE(template.c) template mixin causes DMD crash
http://d.puremagic.com/issues/show_bug.cgi?id=1144 Robert Clipsham rob...@octarineparrot.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #6 from Robert Clipsham rob...@octarineparrot.com 2009-11-07 07:54:22 PST --- *** Issue 3482 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1144] ICE(template.c) template mixin causes DMD crash
http://d.puremagic.com/issues/show_bug.cgi?id=1144 Robert Clipsham rob...@octarineparrot.com changed: What|Removed |Added Status|RESOLVED|REOPENED CC||rob...@octarineparrot.com Version|1.012 |1.051 Resolution|FIXED | Severity|normal |regression --- Comment #5 from Robert Clipsham rob...@octarineparrot.com 2009-11-07 07:52:58 PST --- The dstress test is failing again in dmd 1051: dmd: template.c:4017: Identifier* TemplateInstance::genIdent(): Assertion `0' failed. That DStress case is correct, it's in nocompile/, so shouldn't compile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1144] ICE(template.c) template mixin causes DMD crash
http://d.puremagic.com/issues/show_bug.cgi?id=1144 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #4 from Don clugd...@yahoo.com.au 2009-09-12 11:58:52 PDT --- This is the test case which is failing in dstress: char[] testHelper(A ...)(){ char[] result; foreach(t; a){ result ~= int ~ t ~ ;\n; } return result; } int main(){ mixin( testHelper!( hello, world )() ); return 0; } Note that in the foreach(), it's 'a' instead of 'A'. So it's a bad test, which is actually an instance of bug 2229 (which I've just patched). The bug here was indeed fixed in 1.014. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---