func f() {
switch {
- case 0; // ERROR "expecting := or = or : or comma"
+ case 0; // ERROR "expecting := or = or : or comma|expected :"
}
switch {
- case 0; // ERROR "expecting := or = or : or comma"
+ case 0; // ERROR "expecting := or = or : or comma|expected :"
default:
}
}
switch {
- if x: // ERROR "expecting case or default or }"
+ if x: // ERROR "expected case or default or }"
}
}