tools/go
Robert Griesemer c92471fb85 go.tools/go/types: improved error messages for invalid labels
In general, if a break or continue label is not found, we don't
know if a correspondingly named label was not declared, was declared
but is not visible, or will be declared (and won't be visible).
Complain about "invalid" rather than "not declared" label.

Added more tests.

R=adonovan
CC=golang-dev
https://golang.org/cl/14149043
2013-09-30 14:03:33 -07:00
..
exact go.tools/go/types: clean up assignment checks (round 1) 2013-07-08 09:40:30 -07:00
types go.tools/go/types: improved error messages for invalid labels 2013-09-30 14:03:33 -07:00
vcs go.tools/go/vcs: apply fix to issue 5801. 2013-09-09 12:49:08 -07:00