dmd 2.012, Linux (Fedora Core 6, x86_64)
I'm not sure exactly what the specific problem is, but I'm suspicious of "TPL[0..n]".
BEGIN CODE
void delegate() baz(int n, TPL...)(void function(TPL) func,TPL[0..n] args)
{}
void foo()
{
void delegate() tmp = baz!(2, bool,void*)(&bar, false,null);
}
void bar(bool isStruct, void *dummy)
{}
END CODE
Comment #1 by clugdbug — 2009-04-02T10:35:32Z
Works for me, Windows DMD 2.027.
Comment #2 by clugdbug — 2009-05-14T06:52:32Z
Russ's test case now works on DMD2.029, but on 1.030, it ICEs:
Assertion failure: 'i < parameters->dim' on line 806 in file 'template.c'
Possibly related to Issue 2229.