[Issue 3345] Static and nonstatic methods with the same name should be allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 29 11:02:29 UTC 2021


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

Max Samukha <maxsamukha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxsamukha at gmail.com

--- Comment #9 from Max Samukha <maxsamukha at gmail.com> ---
(In reply to RazvanN from comment #7)

> 
> I suggest that we dissallow overloading static and non-static functions. It
> makes for an easy implementation and clear spec at the cost of having the
> user rename a function.

That would be a major breaking change.

--


More information about the Digitalmars-d-bugs mailing list