D - Compiler exception
- dickl (18/18) Sep 03 2003 The following bit of code gives a compiler exception in 0.70:
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
'func.c'
Terminated with exit code 1
class test
{
void foo()
{
List1.rehash;
List2.rehash;
}//end void foo()
private:
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








dickl <dickl_member pathlink.com>