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

           Summary: Disallow disabled overrides
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: timon.g...@gmx.ch


--- Comment #0 from timon.g...@gmx.ch 2011-10-02 13:28:24 PDT ---
class C{
    void foo(){}
}

class D: C{
    @disable override void foo(){} // should be a compile-time error            
}

Disabling an override does not make any sense and should be disallowed.

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

Reply via email to