https://issues.dlang.org/show_bug.cgi?id=13362
Iain Buclaw <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Iain Buclaw <[email protected]> --- (In reply to yebblies from comment #1) > These are unfortunately valid, and relied upon for this: > > switch(...) with(...) > { > } Any other valid cases? It might seem reasonable to clamp down on just what is accepted. Also accepted code. switch(ch) with(obj) return; --
