diff options
author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2020-08-24 15:23:27 +0700 |
---|---|---|
committer | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2020-08-25 16:06:36 +0000 |
commit | d3f6e2f30083749ce8ab0668e324a523b6ba9ead (patch) | |
tree | 061f355f405b51fb625b8689ec861792ab7b547b /test/runtime.go | |
parent | 27136419d4784d3f81af3ec1faf0962a60c69b7e (diff) | |
download | go-d3f6e2f30083749ce8ab0668e324a523b6ba9ead.tar.gz go-d3f6e2f30083749ce8ab0668e324a523b6ba9ead.zip |
cmd/compile: report error for unexported name only once
Fixes #22921
Change-Id: If29bd962335ac7676ea4f379727db3d55ae1bf8e
Reviewed-on: https://go-review.googlesource.com/c/go/+/250177
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'test/runtime.go')
-rw-r--r-- | test/runtime.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtime.go b/test/runtime.go index 0cf781b814..bccc9b53af 100644 --- a/test/runtime.go +++ b/test/runtime.go @@ -17,5 +17,5 @@ package main import "runtime" func main() { - runtime.printbool(true) // ERROR "unexported" "undefined" + runtime.printbool(true) // ERROR "unexported" } |