digitalmars.D.bugs - [Issue 5978] New: ICE when calling __traits(parent) on the child of an anonymous function.
- d-bugmail puremagic.com (43/43) May 11 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5978
- d-bugmail puremagic.com (12/12) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5978
- d-bugmail puremagic.com (10/10) Jan 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5978
- d-bugmail puremagic.com (12/12) Jan 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5978
- d-bugmail puremagic.com (15/15) Jan 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5978
- d-bugmail puremagic.com (10/10) Jan 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5978
http://d.puremagic.com/issues/show_bug.cgi?id=5978 Summary: ICE when calling __traits(parent) on the child of an anonymous function. Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: kennytm gmail.com --- Comment #0 from kennytm gmail.com 2011-05-11 08:45:07 PDT --- Test case: -------------------------------------------- void main() { () { int x; pragma(msg, __traits(parent, x)); } (); } -------------------------------------------- Assertion failed: (next), function toDecoBuffer, file mtype.c, line 4706. Abort trap -------------------------------------------- The relevant stack trace: #5 0x000cf227 in TypeFunction::toDecoBuffer (this=0x343ec0, buf=0xbfffea80, flag=0) at mtype.c:4706 4706 assert(next); #6 0x000d3545 in Type::merge (this=0x3440b0) at mtype.c:1498 1498 toDecoBuffer(&buf); #7 0x000d4242 in Type::pointerTo (this=0x343ec0) at mtype.c:1206 1206 pto = t->merge(); #8 0x0007e3c0 in FuncExp::semantic (this=0x344090, sc=0x343cd0) at expression.c:4758 4758 type = fd->type->pointerTo(); #9 0x00135413 in TraitsExp::semantic (this=0x310690, sc=0x343cd0) at traits.c:384 384 e = e->semantic(sc); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 11 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5978 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com Platform|Other |All OS/Version|Mac OS X |All --- Comment #1 from SomeDude <lovelydear mailmetrash.com> 2012-04-20 10:33:53 PDT --- Also fails on Win32 2.059 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5978 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com --- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-01-08 13:01:03 PST --- Now works in 2.062 git-head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5978 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |WORKSFORME --- Comment #3 from Walter Bright <bugzilla digitalmars.com> 2013-01-08 15:00:38 PST --- Added test case: https://github.com/D-Programming-Language/dmd/pull/1444 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5978 --- Comment #4 from github-bugzilla puremagic.com 2013-01-08 15:05:29 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ff62d9eaee74287928f5b7858ac5b8cbd6496d98 add test case for Issue 5978 - ICE(mtype.c) when calling __traits(parent) on the child of an anonymous function. Issue 5978 - ICE(mtype.c) when calling __traits(parent) on the child of an anonymous function. https://github.com/D-Programming-Language/dmd/commit/15ed69199bde6d857354e6fe439f987fcc570b4c Merge pull request #1444 from WalterBright/test5978 add test case for issue 5978 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 08 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5978 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |FIXED --- Comment #5 from Kenji Hara <k.hara.pg gmail.com> 2013-01-09 17:37:13 PST --- In current, dmd test suite has a test case for this bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2013