D's SwitchStatement accepts statements with ridiculous semantics

Jacob Carlborg doob at me.com
Sat Sep 30 08:01:05 UTC 2017


On 2017-09-29 21:56, Timon Gehr wrote:

> Well, I have used the switch(...) with(...) idiom you mentioned in the
> original post a few times, and I'm quite confident you'd meet some
> opposition if you were to break it.

I've used that as well, but the other way around. I put the switch 
statement inside the with statement.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list