[Issue 23377] class method overloading with same name doesn't work for base classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 29 11:59:04 UTC 2022


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

--- Comment #3 from Luís Ferreira <contact at lsferreira.net> ---
I didn't know that this was intentional, tbh.

It makes some sense, given the rationale and given that there's a clean
alternative to behave correctly, although, I think this should be more explicit
on the language documentation/spec, then, at least, the way to do it, with an
example using an alias.

--


More information about the Digitalmars-d-bugs mailing list