[Issue 24520] [REG] C-style casts are now accepted (sometimes)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 24 11:34:05 UTC 2024


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

--- Comment #3 from ponce <aliloko at gmail.com> ---
I get that this is unable to create dysfunction other than "doesn't build".

My issue is that a silent language change with no changelog entry and no spec
change. This issue is exactly similar with introduction of named arguments.

Perhaps yes the language is better afterwards; but since there is no way to
know, there is no knowledge one has to test things that worked for a long time
under compilers that are a few versions back.

If this happen like this, then Editions when compiled with new compilers, won't
work in old compilers, somewhat bypassing the advantage of Editions.

I develop libraries with users and we do not have the same compilers, so users
expect me to test with multiple compilers yes but it is helpful to have a way
to track breaking changes or additions like these in changelog. And it's not
sure if intentional here.

--


More information about the Digitalmars-d-bugs mailing list