Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 22, 2018 [Issue 5714] case ranges in final switches | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5714 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |bootcamp CC| |dmitry.olsh@gmail.com -- |
August 09, 2020 [Issue 5714] case ranges in final switches | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5714 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=5713 -- |
December 17, 2022 [Issue 5714] case ranges in final switches | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5714 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
January 21, 2023 [Issue 5714] case ranges in final switches | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5714 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #4 from Nick Treleaven <nick@geany.org> --- (In reply to Andrej Mitrovic from comment #1) > And it also limits the number of cases to 256 (for optimization purposes?). > > So a final switch would only work on byte-types. See issue 15279 which seems to be an implementation issue rather than a design decision (the pull comment suggests lowering case range statements to an if/else instead). -- |
Copyright © 1999-2021 by the D Language Foundation