[Issue 16521] Wrong code generation with switch + static foreach
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Mar 9 12:21:58 PST 2017
https://issues.dlang.org/show_bug.cgi?id=16521
--- Comment #7 from Nemanja Boric <4burgos at gmail.com> ---
I'm not sure who ever got convinced by this code that `static foreach` works.
This is just very helpful and clear approach, and it should grant `static
foreach` becoming a real thing, because it is useful.
While that is still not implemented, this code should work, as I see this as a
bug/regression
(https://github.com/rejectedsoftware/vibe.d/blob/6f37e694cc77063769bc4c9a42160627103e8354/web/vibe/web/rest.d#L1367
- yet another example, plus dozens on forums, etc).
--
More information about the Digitalmars-d-bugs
mailing list