digitalmars.D.bugs - [Issue 15279] New: dchar is treated as char in case range
- via Digitalmars-d-bugs (24/24) Nov 02 2015 https://issues.dlang.org/show_bug.cgi?id=15279
https://issues.dlang.org/show_bug.cgi?id=15279 Issue ID: 15279 Summary: dchar is treated as char in case range Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: acehreli yahoo.com void main() { dchar d; switch (d) { case '\u0000': .. case '\u0101': break; } } Error: had 257 cases which is more than 256 cases in case range Same problem with wchar... Ali --
Nov 02 2015