http://d.puremagic.com/issues/show_bug.cgi?id=3176
Don changed:
What|Removed |Added
Keywords||patch
Version|2.031 |1.045
Summary|Compiler hangs on poorly|Compiler hangs on poorly
|formed recurrence function |formed mixin in variadic
||template
--- Comment #3 from Don 2009-08-05 19:07:57 PDT ---
/*
Actually it's not so complicated as I thought -- it's just that after fixing
this, it falls foul of bug #3196. On D1, this is a complete fix.
PATCH: parse.c, line 2899 in DMD1.046, line 3358 in DMD2.
-while (token.value != TOKrcurly)
+while (token.value != TOKrcurly && token.value != TOKeof)
*/
// Even smaller test case:
void foo(S...)(S u) {
alias typeof(mixin("{ return a[1;}()")) z;
}
void main() {
foo!()(0);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---