Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 02, 2015 [Issue 15279] dchar is treated as char in case range | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15279 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ag0aep6g@gmail.com --- Comment #1 from ag0aep6g@gmail.com --- I don't think this is an issue with dchar/char. The same happens with int: ---- void main() { int d; switch (d) { case 0: .. case 0x0101: break; } } ---- Looks like more than 256 cases are not supported. -- |
September 08, 2021 [Issue 15279] increase 256 switch case range limit | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15279 Dennis <dkorpel@live.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dkorpel@live.nl Hardware|x86_64 |All Summary|dchar is treated as char in |increase 256 switch case |case range |range limit OS|Linux |All Severity|normal |enhancement --- Comment #2 from Dennis <dkorpel@live.nl> --- You're hitting a limit that was set in place because the current implementation doesn't scale well to larger ranges, see: https://github.com/dlang/dmd/pull/12002 -- |
December 17, 2022 [Issue 15279] increase 256 switch case range limit | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15279 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation