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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 2 15:28:03 UTC 2022


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #4 from Nick Treleaven <nick at geany.org> ---
(In reply to Luís Ferreira from comment #3)
> 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.

It is in the spec:
https://dlang.org/spec/function.html#function-inheritance

However, it would be easier to find if the whole virtual functions section was
moved to the class page.

--


More information about the Digitalmars-d-bugs mailing list