D - Bug
- Matthias Becker (18/18) Feb 08 2004 class Foo {
- Walter (1/1) Feb 08 2004 I think I know what's going wrong. I'll take care of it. -Walter
class Foo {
template tmethod (T) {
public static void tmethod (T param)
{
}
}
}
int main (char [][] args)
{
Foo foo = new Foo;
Foo.tmethod!(int)(42);
return 0;
}
dmd simply crashes.
And now replace it by some wron code:
//Foo.tmethod!(int)(42);
Foo.tmethod; // doesn't make sence, I know
Now you get a strange assert.
Feb 08 2004
I think I know what's going wrong. I'll take care of it. -Walter
Feb 08 2004








"Walter" <walter digitalmars.com>