https://issues.dlang.org/show_bug.cgi?id=16318

ponce <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from ponce <[email protected]> ---
I lost a lot of time on that issue


---------------------

interface A
{

    void lol();
}

abstract class B : A
{
}

class C : B
{
   override void lol()
   {
   }
}

----------------------

Error: function f891.C.lol does not override any function, did you mean to
override 'f891.A.lol'?


----------------------


It's very unclear and unpexpected that the proper fix is just to remove the
"override" keyword.

--

Reply via email to