[Issue 6760] New: Disallow disabled overrides
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 2 13:29:04 PDT 2011
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: nobody at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at 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: -------
More information about the Digitalmars-d-bugs
mailing list