final switch problem

John Chapman johnch_atms at hotmail.com
Sat Jun 13 16:22:39 UTC 2020


On Saturday, 13 June 2020 at 15:33:55 UTC, Boris Carvajal wrote:
> On Saturday, 13 June 2020 at 09:02:21 UTC, John Chapman wrote:
>> Is this a bug or have I made a mistake? This worked a few days 
>> ago and I haven't changed my setup since then.
>
> https://issues.dlang.org/show_bug.cgi?id=19548
>
> Your code triggers it by using "-debug" option on 
> https://run.dlang.io/ using DMD

Hmm, compiling with -release makes it work. Not a huge issue, 
I'll just avoid final switches in debug mode until it's fixed. 
Thanks.


More information about the Digitalmars-d-learn mailing list