[Issue 21780] alias this preferred over immutable conversion even if alias this is deprecated and de is on
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 29 08:12:00 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21780
--- Comment #1 from moonlightsentinel at disroot.org ---
This is actually a regression. Extending your example with appropriate
puts("Nullable") / puts("S") yields:
Up to 2.060 : Success with output: Nullable
2.061 to 2.075.1: <Doesn't compile due to overload resolution error>
2.076.1 to 2.087.1: Success with output: S
Since 2.088.1: Success with output:
-----
onlineapp.d(14): Deprecation: `alias get_ this` is deprecated
S
-----
--
More information about the Digitalmars-d-bugs
mailing list