[Issue 7140] DMD hangs on isExpression with template default and variadic parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 31 17:52:42 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7140
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #1 from Don <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list