[Issue 23753] this allowed in static member function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 14 11:20:53 UTC 2023


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

--- Comment #3 from johanengelen at weka.io ---
(In reply to RazvanN from comment #1)
>
> Is there a strong argument to not allow this (and justify the breakage) or
> should we simply amend the spec?

Yes, the language should have a clear structured grammar, rather than accepting
hacks that appear convenient. See here for similar removal of hacky constructs:
https://dlang.org/changelog/2.100.0.html#super_type_gone

--


More information about the Digitalmars-d-bugs mailing list