[Issue 14173] New: Ommiting return type with override hides an error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 12 06:17:53 PST 2015


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: nobody at puremagic.com
          Reporter: temtaime at gmail.com

class A {
}

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

void main() {}


Compiles OK but shouldn't.

--


More information about the Digitalmars-d-bugs mailing list