March 06, 2003 compiler crash. [Beta v0.58] | ||||
---|---|---|---|---|
| ||||
the following crashes the compiler [Digital Mars D Compiler Beta v0.58]; should I be able to instatiate a template within a try/catch block ? import c.stdio; class Bar {} template Foo( T ) { void func() { }; } int main( char[][] args ) { try { instance Foo( Bar ) filter; } catch (Exception e) { printf( "Exception %.*s", e.msg ); } finally { printf( "Done0." ); } return 0; } |
Copyright © 1999-2021 by the D Language Foundation