1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:18:32 -06:00

cmd/internal/gc: clean up switch code

This CL makes the switch walking and typechecking code
more idiomatic and adds documentation.
It also removes all but one global variable.

No functional changes. Confirmed with toolstash -cmp on the stdlib.

Change-Id: Ic3f38acc66e906edd722498839aeb557863639cf
Reviewed-on: https://go-review.googlesource.com/6268
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2015-02-27 20:44:45 +00:00
parent 59cc5a197f
commit 85c6f71b08

File diff suppressed because it is too large Load Diff