implement abstract method requires override
"Luís
"Luís
Sat Nov 9 18:40:40 PST 2013
On Sunday, 10 November 2013 at 02:32:18 UTC, Luís Marques wrote:
> interface X
> {
> abstract void foo();
> }
>
> class Y : X
> {
> void foo() {}
> }
Ignore the abstract in the interface, it was a copy-paste bug,
although it seems to make no difference.
BTW, for completeness, I'll clarify that my exact situation is a
bit more roundabout:
interface I
{
void foo();
}
class X : I
{
abstract foo;
}
class Y : X
{
void foo() {}
}
More information about the Digitalmars-d
mailing list