Summary: Crash on overriding class methods with 'auto' return
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD

class A
    auto foo() { return 0; }

class B : A
    override auto foo() { return 5; } 

The compiler crashes.  It also crashes if's return type is int or's
return type is int (but not if both are int, obviously).  It doesn't crash if
foo is not overridden.

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

Reply via email to