]> Cypherpunks repositories - gostls13.git/commit
gc: detect type switch variable not used cases.
authorLuuk van Dijk <lvd@golang.org>
Fri, 4 Nov 2011 16:03:50 +0000 (17:03 +0100)
committerLuuk van Dijk <lvd@golang.org>
Fri, 4 Nov 2011 16:03:50 +0000 (17:03 +0100)
commitaac144b1202fc733a206422bed3cc6eafe4ca855
treea099a501ab37f422ddd22459bffe666b07f8a848
parentf2dc50b48d011d4d585d09d5e6bed350894add3d
gc: detect type switch variable not used cases.

Fixes #873
Fixes #2162

R=rsc
CC=golang-dev
https://golang.org/cl/5341043
src/cmd/gc/go.y
src/cmd/gc/walk.c
src/pkg/encoding/xml/read.go
src/pkg/exp/types/const.go
src/pkg/go/parser/parser.go
test/fixedbugs/bug141.go
test/fixedbugs/bug200.go
test/fixedbugs/bug213.go
test/fixedbugs/bug248.dir/bug2.go
test/fixedbugs/bug309.go
test/fixedbugs/bug373.go [new file with mode: 0644]