D - Bug: typeof
- Vathix <vathix dprogramming.com> Jan 17 2004
The following code causes this error:
Assertion failure: '0' on line 2642 in file 'mtype.c'
abnormal program termination
class Foo(T)
{
class Bar { T asdf; }
}
int main()
{
Foo!(int) hi;
hi = new typeof(hi); // nice
typeof(hi).Bar hey; // error here
return 1;
}
Jan 17 2004








Vathix <vathix dprogramming.com>