digitalmars.D.bugs - [Issue 7140] New: DMD hangs on isExpression with template default and variadic parameter
- d-bugmail puremagic.com (21/21) Dec 20 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7140
- d-bugmail puremagic.com (19/19) Dec 31 2011 http://d.puremagic.com/issues/show_bug.cgi?id=7140
- d-bugmail puremagic.com (9/9) Sep 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7140
http://d.puremagic.com/issues/show_bug.cgi?id=7140 Summary: DMD hangs on isExpression with template default and variadic parameter Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: simen.kjaras gmail.com --- Comment #0 from Simen Kjaeraas <simen.kjaras gmail.com> 2011-12-20 00:46:51 PST --- struct Bug(A, B = A, C...) {} void main( ) { static if ( is( Bug!int t == Bug!(A, B, C), A, B, C ) ) {} } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 20 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7140 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au --- Comment #1 from Don <clugdbug yahoo.com.au> 2011-12-31 17:52:34 PST --- template.c, TypeInstance::deduceType(), line 2650. /* Create tuple from remaining args */ Tuple *vt = new Tuple(); size_t vtdim = tempinst->tiargs->dim - i; vt->objects.setDim(vtdim); for (size_t k = 0; k < vtdim; k++) vt->objects.tdata()[k] = tempinst->tiargs->tdata()[i + k]; vtdim < 0. At the start of the loop (at L2:) this is the "pick up default arg" case. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 31 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7140 Simen Kjaeraas <simen.kjaras gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 21 2012