https://issues.dlang.org/show_bug.cgi?id=14173

          Issue ID: 14173
           Summary: Ommiting return type with override hides an error
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: [email protected]
          Reporter: [email protected]

class A {
}

class B : A {
    override foo() {}
}

void main() {}


Compiles OK but shouldn't.

--

Reply via email to