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
$ cat x.go
package p
func f() {
var x int
switch x{
case 1: 2:
}
var y string
switch y {
case "foo": "bar":
}
}
$ go1.5 tool compile x.go
x.go:6: missing statement after label
x.go:6: syntax error: unexpected :, expecting case or default or }
x.go:11: missing statement after label
x.go:11: syntax error: unexpected :, expecting case or default or }
$ go tool compile x.go
x.go:6: internal compiler error: newname nil
$
The text was updated successfully, but these errors were encountered:
Only fix for Go 1.6 if trivial.
The text was updated successfully, but these errors were encountered: