https://issues.dlang.org/show_bug.cgi?id=6095
Vladimir Panteleev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=14532 --- Comment #1 from Vladimir Panteleev <[email protected]> --- (In reply to Brad Roberts from comment #0) > // should be 0, there's no flow that should involve a being instantiated > // or destroyed > A51_a = 0; { if (1) switch(1) { A51 a; default: } } assert(A51_a == 1); This is now a deprecation (since https://github.com/dlang/dmd/pull/5869). --
