This works in LDC but not DMD? ``` class A : B, I { alias i = typeof(super).i; } class B { void i() { writeln("i"); } } interface I { void i(); } ```
Is this a bug in DMD or in LDC? How can I get this effect correctly?
Jonathan Levi via Digitalmars-d-learn Sat, 26 Jan 2019 21:41:24 -0800
This works in LDC but not DMD? ``` class A : B, I { alias i = typeof(super).i; } class B { void i() { writeln("i"); } } interface I { void i(); } ```
Is this a bug in DMD or in LDC? How can I get this effect correctly?