You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest release?
yes
What did you do?
package main
funcmain() {
switch {
casetrue:
casetrue: // ok
}
switch123 {
case1:
case1: // duplicate case 1 in switch
}
switch"abc" {
case"a":
case"a": // duplicate case "a" in switch
}
}