[Issue 3581] "private" attribute breaks "override"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 9 14:33:11 PST 2010


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


Vladimir <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #1 from Vladimir <thecybershadow at gmail.com> 2010-03-09 14:33:06 PST ---
Simpler test case:

class C
{
    private override void f() {}
}

This code should not compile.
Removing "private" produces the expected "function test.C.f does not override
any function" error.

-- 
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