When trying to compile this code:

import std.stdio;
class A;

class B(T) : T {
}

void main() {
    writeln(typeid(B!A));
}

I get this error: Assertion failure: '!scope' on line 358 in file 'toobj.c'. Shouldn't it be more like: Error: class main.A unable to resolve forward reference in definition

Looks like a bug?

Reply via email to