Use-after-scope bug in Phobos unittest, how to fix?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon May 15 18:59:12 UTC 2023


You should probably disable such optimizations for @system code 
entirely. Not sure about @trusted, don't think it should apply there either.

Having optimizations that allow for UB or crashing at runtime is not a 
good thing.


More information about the Digitalmars-d mailing list