implement vs override
Zealot
zealot at planet.earth
Mon Nov 3 10:29:51 UTC 2025
On Monday, 3 November 2025 at 08:02:06 UTC, Peter C wrote:
> On Monday, 3 November 2025 at 07:26:24 UTC, Serg Gini wrote:
>> [...]
>
> Actually I've confused myself (and likely others) because I
> thought this code below actually compiled at one stage (with no
> error) - turns out... it won't compile.
>
> [...]
Base doesnt inherit from Isomething, so Base.someMethod doesn't
implement the interface.
so Derived sees Isomething and doesnt see any implementation for
it. it doesnt simply take the same signature
More information about the Digitalmars-d
mailing list