http://d.puremagic.com/issues/show_bug.cgi?id=3247

           Summary: Crash on overriding class methods with 'auto' return
                    type
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: jarrett.billings...@gmail.com


class A
{
    auto foo() { return 0; }
}

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


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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to