September 23 [Issue 24781] alias this on inner structs have wrong behaviour | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24781 Luís Ferreira <contact@lsferreira.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |contact@lsferreira.net -- |
September 25 [Issue 24781] alias this on inner structs have wrong behaviour | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24781 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@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. -- |
Copyright © 1999-2021 by the D Language Foundation