[Issue 7072] [2.057 Beta] Assertion failure: '0' on line 145 in file 'mtype.c'
http://d.puremagic.com/issues/show_bug.cgi?id=7072 --- Comment #1 from David Simcha 2011-12-06 15:56:46 PST --- I didn't realize the significance of this until I looked at the source code to mtype.c, but there's actually a line before the assertion failure line. The full error message is: ty = 41 Assertion failure: '0' on line 145 in file 'mtype.c' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7072] [2.057 Beta] Assertion failure: '0' on line 145 in file 'mtype.c'
http://d.puremagic.com/issues/show_bug.cgi?id=7072 --- Comment #2 from David Simcha 2011-12-06 17:33:24 PST --- Unbelievably simple test case after about 1.5 hours of recursively reducing SciD code: struct S { this(A)(A args) { } } void main() { auto s = S( null ); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7072] [2.057 Beta] Assertion failure: '0' on line 145 in file 'mtype.c'
http://d.puremagic.com/issues/show_bug.cgi?id=7072 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #3 from Walter Bright 2011-12-06 20:54:20 PST --- Thanks for your hard work, David. I found the problem, and am testing the fix. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7072] [2.057 Beta] Assertion failure: '0' on line 145 in file 'mtype.c'
http://d.puremagic.com/issues/show_bug.cgi?id=7072 --- Comment #4 from Walter Bright 2011-12-06 21:09:06 PST --- https://github.com/D-Programming-Language/dmd/commit/0a20f8f170cbcbf3f3fd6971b339e8d82d311a1c -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7072] [2.057 Beta] Assertion failure: '0' on line 145 in file 'mtype.c'
http://d.puremagic.com/issues/show_bug.cgi?id=7072 Robert Clipsham changed: What|Removed |Added CC||rob...@octarineparrot.com --- Comment #5 from Robert Clipsham 2011-12-07 20:07:03 GMT --- (In reply to comment #2) > Unbelievably simple test case after about 1.5 hours of recursively reducing > SciD code: Have you come cross this tool? It helps tremendously with reducing test cases: https://github.com/cybershadow/dustmite -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7072] [2.057 Beta] Assertion failure: '0' on line 145 in file 'mtype.c'
http://d.puremagic.com/issues/show_bug.cgi?id=7072 --- Comment #6 from David Simcha 2011-12-07 13:19:49 PST --- I'm aware of DustMite. I just never got around to setting it up/learning how it works because it doesn't look easy. Usually reducing stuff like this doesn't take very long. It's just that this one had to (unexpectedly) follow a whole chain of template instantiations. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---