D - Bug: typeof
- Vathix (16/16) Jan 17 2004 The following code causes this error:
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