dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

deadalnix deadalnix at gmail.com
Fri Nov 5 02:06:01 UTC 2021


On Thursday, 4 November 2021 at 02:26:20 UTC, Walter Bright wrote:
> https://issues.dlang.org/show_bug.cgi?id=22473
>
> I've tried to fix this before, but too many people objected.
>
> Are we fed up with this yet? I sure am.
>
> Who wants to take up this cudgel and fix the durned thing once 
> and for all?
>
> (It's unclear if it would even break existing code.)

For the love of god, if you are going to make a breaking change 
there, just remove autodecoding altogether.

Trying to fix what shouldn't exist is by far the biggest time 
sink engineers involves themselves in.



More information about the Digitalmars-d mailing list