cmd/compile, go/types: fix checking of bad type switch ยท golang/go@46f138f
Consider the following program: package p func f() { x := 1 v := 2 switch v.(type) { case int: println(x) println(x / 0) case 1: } } Before this CL, the compiler prints: x...