www.digitalmars.com         C & C++   DMDScript  

D - Compiler crash (member templates)

When compiling following code, D compiler crashes :(

class Class {
   template func(W) {
     void func(W w) { printf("W_I\n"); }
   }
}

void main() {

   Class c = new Class();
   c.func!(int, float)();

}
Feb 04 2004