gc: Better typechecks and errors in switches.
Allow any type in switch on interface value. Statically check typeswitch early. Fixes #2423. Fixes #2424. R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5339045
Showing
test/switch3.go
0 → 100644
test/typeswitch3.go
0 → 100644
Please register or sign in to comment