January 17, 2004 Bug: typeof | ||||
---|---|---|---|---|
| ||||
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; } |
Copyright © 1999-2021 by the D Language Foundation