]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: add .y to error about missing x in x.y
authorRuss Cox <rsc@golang.org>
Thu, 5 Feb 2015 17:31:13 +0000 (12:31 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 13 Feb 2015 17:30:37 +0000 (17:30 +0000)
commit4b27c9d72eaa501fae86d6365205eacbfd89e83f
treee40594a6d901b5e8bdd906a95db3b524b24e4484
parentfa7efa2cb01ed24cb7f9b3b054016e644377e610
cmd/gc: add .y to error about missing x in x.y

If the Go source says x.y, and x is undefined, today we get

undefined: x

Change to:

undefined: x in x.y

Change-Id: I8ea95503bd469ea933c6bcbd675b7122a5d454f3
Reviewed-on: https://go-review.googlesource.com/4643
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/gc/go.h
src/cmd/gc/subr.c
src/cmd/gc/typecheck.c