digitalmars.D.bugs - [Issue 6675] New: Regression(2.054) ICE(glue.c) template parameter deduction with errors gagged
- d-bugmail puremagic.com (39/39) Sep 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6675
- d-bugmail puremagic.com (8/8) Sep 15 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6675
- d-bugmail puremagic.com (13/13) Sep 20 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6675
http://d.puremagic.com/issues/show_bug.cgi?id=6675 Summary: Regression(2.054) ICE(glue.c) template parameter deduction with errors gagged Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug yahoo.com.au> 2011-09-15 04:49:37 PDT --- Found while attempting to reduce bug 5932. This works on 2.053 and earlier, fails on 2.054 and 2.055. void receive(T)( T x ) { static assert(0); get( x ); } void get(T)( T vals ) { void onStandardMsg() { } } static assert(!is(typeof( { receive(3); }() ))); Assertion failure: 'semanticRun == PASSsemantic3done' on line 581 in file 'glue. c' Seems to be related to template parameter deduction, since it compiles without error if you change get(x); into get!(T)(x); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 15 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6675 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |regression -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 15 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6675 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED --- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2011-09-20 13:16:22 PDT --- https://github.com/D-Programming-Language/dmd/commit/6dc84fd7f2f43d28039d08bf80658cffc97e00f0 https://github.com/D-Programming-Language/dmd/commit/cf7a78423f426fb0d2d62b0af821129f1a4077a1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 20 2011