[Issue 6579] Calling static method should *require* using type and not instance, unless specified by author

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 16 12:30:55 UTC 2018


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

--- Comment #9 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Dunno, this would complicate the language and lower its usability without a
clear problem and gain. How would code then decide whether to call
instance.method() or typeof(instance).method()?

--


More information about the Digitalmars-d-bugs mailing list