The following code current does not compile:
extern(C++):
class A
{
~this();
}
class B : A
{
~this();
}
class C : B
{
}
class D : C
{
~this();
}
DMD produces the following error:
test.d(13): Error: class `test.D` use of `test.B.~this()` is hidden by `D`; use `alias ~this = B.~this;` to introduce base class overload set
Comment #1 by robert.schadek — 2024-12-13T19:21:07Z