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: [email protected]
Reporter: [email protected]
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
--
