Summary: More strict 'abstract' management
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-10-29 05:10:03 PDT ---
DMD 2.050beta compiles this, then it fails at linking time:

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

What I expect: A compile-time error generated by the compiler, something like:
error(4): class 'B' is not abstract, yet it doesn't implement abstract method
'foo' of class 'A' it inherits from.

See also bug 2946

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to