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 |
||
|---|---|---|
| .. | ||
| exact | ||
| types | ||
| vcs | ||