digitalmars.D.bugs - [Issue 6650] New: ICE(glue.c): type inference of invalid template instantiation from is(typeof())
- d-bugmail puremagic.com (29/29) Sep 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6650
- d-bugmail puremagic.com (12/12) Feb 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6650
http://d.puremagic.com/issues/show_bug.cgi?id=6650 Summary: ICE(glue.c): type inference of invalid template instantiation from is(typeof()) 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-12 05:54:01 PDT --- This is a bug with the gagging system. auto quz(X)(X y) { X q = "abc"; return y; } static assert(!is(typeof(quz!int(6)))); Two additional tests: // It should also be false the second time; static assert(!is(typeof(quz!int(18)))); // This should print error messages. int bolog = quz!int(27); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 12 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6650 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Don <clugdbug yahoo.com.au> 2012-02-08 06:50:35 PST --- This was fixed in DMD2.056, commit 8ed5854. Test case is in the test suite. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 08 2012