http://d.puremagic.com/issues/show_bug.cgi?id=2435
clugd...@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Assertion failure: 'i < |ICE when undefined type used |parameters->dim' on line 784|in tuple function |in file 'template.c' |declaration Version|2.020 |1.036 ------- Comment #1 from clugd...@yahoo.com.au 2009-01-09 09:14 ------- Actually applies to D1 as well. Here's a slightly simplified test case: Foo foo(A...)() { } static assert(foo!(1, 2)()); -------- On DMD2: Assertion failure: 'i < parameters->dim' on line 784 in file 'template.c' On DMD1, it segfaults. If there is only one parameter is passed to the tuple, it works correctly, producing the error: bug.d(1): Error: identifier 'Foo' is not defined And another example shows that it's not the return value, it's any parameter: -------- int foo(A...)(Foo x) { } static assert(foo!(1,2)()); --