[Issue 16549] Switch statement can skip initialization

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 27 07:15:32 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16549

--- Comment #3 from Jacob Carlborg <doob at me.com> ---
(In reply to Mathias Lang from comment #2)
> Compiling with master will give you a deprecation message:
> 
> lol.d(8): Deprecation: 'switch' skips declaration of variable lol.bar.foo at
> lol.d(10)

Ah, yes. Is there a commit to refer to so we can close this. Or is this a
duplicate?

--


More information about the Digitalmars-d-bugs mailing list