LDC2 Clobbering Local Variableswith std.typecons' nullable.

kinke noone at nowhere.com
Sat Aug 14 03:41:33 UTC 2021


On Saturday, 14 August 2021 at 03:13:00 UTC, LeqxLeqx wrote:
> Or is this a compiler bug?

Might be, but you're using a version that's almost 4 years old. 
With run.dlang.io and its current LDC v1.26 (not the latest 
version either...), your testcase works with all optimization 
levels (line 36 needs a `.get()` since Phobos v2.096).


More information about the digitalmars-d-ldc mailing list