[Issue 23277] alias to mixin template breaks selective overriding of mixin template member

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 9 13:04:17 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23277

--- Comment #3 from Adam D. Ruppe <destructionator at gmail.com> ---
The overload set merging actually works perfectly fine. Declarations in the
class itself override things that are mixed in, so it will always call the one
from the class if the arguments match.

The problem here is the compiler doesn't allow it with the specific scenario
when you are trying to forward the call to a member variable.

--


More information about the Digitalmars-d-bugs mailing list