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



--- Comment #3 from Maksim Zholudev <[email protected]> 2013-05-06 21:37:50 
PDT ---
I think `override` keyword is useful to mark the methods that are supposed to
be declared elsewhere.

In the following example I'm also (technically) implementing:
--------------------
abstract class A
{
    void foo();
}
class B : A
{
    void foo () {}
}
--------------------
test.d(7): Deprecation: overriding base class function without using override
attribute is deprecated (test.B.foo overrides test.A.foo)
--------------------

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

Reply via email to