www.digitalmars.com         C & C++   DMDScript  

D - Compiler exception

The following bit of code gives a compiler exception in 0.70:
"m:\dmd\bin\dmd.exe" -c -g foo.d
Assertion failure: 'fd->type->next->equals(treturn)' on line 956 in file
Terminated with exit code 1

class test
void foo()
}//end void foo()
int delegate(in int arg1) List1[char[]];
int  List2[char []];
}//end  class test

If the List1 is changed just be to an int, there is no problem, if List2 is
removed, there also is no problem.
Sep 03 2003