Thread overview
[Issue 6760] New: Disallow disabled overrides
Oct 02, 2011
timon.gehr@gmx.ch
Jan 31, 2012
yebblies
Jan 31, 2012
yebblies
October 02, 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@puremagic.com
        ReportedBy: timon.gehr@gmx.ch


--- Comment #0 from timon.gehr@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: -------
January 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6760


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies@gmail.com


--- Comment #1 from yebblies <yebblies@gmail.com> 2012-01-31 18:52:17 EST ---
Same thing for deprecated overrides.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6760


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |larsivar@igesund.net


--- Comment #2 from yebblies <yebblies@gmail.com> 2012-01-31 18:52:51 EST ---
*** Issue 1449 has been marked as a duplicate of this issue. ***

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