]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, go/types: omit needless word in error message
authorRuss Cox <rsc@golang.org>
Tue, 24 May 2016 06:52:31 +0000 (02:52 -0400)
committerDavid Chase <drchase@google.com>
Tue, 24 May 2016 15:07:16 +0000 (15:07 +0000)
commit85e3c9e6b863792135c8cd49bebfd1028e87cee5
tree45e00617c3f2761858b585fcc99920929b67cce2
parent34b17d4dc5726eebde437f2c1b680d039cc3e7c0
cmd/compile, go/types: omit needless word in error message

CL 21462 and CL 21463 made this message say explicitly that the problem
was a struct field in a map, but the word "directly" is unnecessary,
sounds wrong, and makes the error long.

Change-Id: I2fb68cdaeb8bd94776b8022cf3eae751919ccf6f
Reviewed-on: https://go-review.googlesource.com/23373
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/typecheck.go
src/go/types/assignments.go
src/go/types/testdata/stmt0.src
test/fixedbugs/issue13779.go