On Sunday, 28 October 2012 at 13:39:26 UTC, bearophile wrote:
This code compiles with no errors, and then later the linker gives a "Symbol Undefined":


abstract class A {
    public void foo();
}
class B : A {}
void main() {}

Interestingly, adding abstract to the method will result in no linker error for compiling. And if a new B is created then a compiler error is provided instead of a linker error.

I'm for getting some line numbers over the less informative linker error.

Reply via email to