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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 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: -------