On Sunday, 22 August 2021 at 12:20:56 UTC, Alexey wrote:
On Saturday, 21 August 2021 at 20:35:43 UTC, Alexey wrote:
Hello
```D
interface Int
{
void coolFunc();
}
class C1
{
void coolFunc()
{
return;
}
}
class C2 : C1, Int
{
}
void main()
{
auto c = new C2;
}
```
dmd says it's not Ok:
t.d(14): Error: class `t.C2` interface function `void
coolFunc()` is not implemented
how to make dmd happy?
so, Is this a bug in dmd or not?
some answers have been given here and here
https://discord.com/channels/242094594181955585/242122752436338688/878996818904612864
https://issues.dlang.org/show_bug.cgi?id=22232