[Issue 2525] override of function from abstract base class's interface

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 6 15:01:42 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-05-06 15:01:41 PDT ---
Technically you're not overriding, you're implementing. I think there is no bug
here. I also think the following should be an error:

-----
interface I
{
    void foo();
}

class C : I
{
    override void foo () {}  // no error here currently
}
----

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