[Issue 24781] alias this on inner structs have wrong behaviour
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 25 06:43:55 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24781
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I fixed this bug in the past, but I remember that a fair amount of projects
were broken by this change because they were relying on the existing behavior,
that's why the preview was introduced (which had the effect that people
continued using the broken version and relying on it more). Also, in this case
it's really hard to issue deprecations since it's essentially silent change of
code behavior. So we would either have to make the preview the default and deal
with the breakage or continue as is. Of course, there's the dreaded alternative
of making the preview the default in a new edition which would be the worse
alternative since we will be stuck maintaining both behaviors.
--
More information about the Digitalmars-d-bugs
mailing list