cmd/compile: improved error message when calling a shadowed builtin
Otherwise, the error can be confusing if one forgets or doesn't know that the builtin is being shadowed, which is not common practice. Fixes #22822. Change-Id: I735393b5ce28cb83815a1c3f7cd2e7bb5080a32d Reviewed-on: https://go-review.googlesource.com/97455Reviewed-by:Robert Griesemer <gri@golang.org>
Showing
test/fixedbugs/issue22822.go
0 → 100644
Please register or sign in to comment