commit | 13e92e4d7542ac65a7efb33778f752403c5ac014 | [log] [tgz] |
---|---|---|
author | Luuk van Dijk <lvd@golang.org> | Wed Nov 09 10:58:53 2011 +0100 |
committer | Luuk van Dijk <lvd@golang.org> | Wed Nov 09 10:58:53 2011 +0100 |
tree | ed9d3ba14020b4522d06ee75b2cf5892d06507e5 | |
parent | 820523d09186bd9c7078338803e41c8592158110 [diff] |
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