Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/gc: do not display ~b identifiers in error messages
Instead of errors like: ./blank2.go:15: cannot use ~b1 (type []int) as type int in assignment we now have: ./blank2.go:15: cannot use _ (type []int) as type int in assignment Less confusing for users. Fixes golang#9521 Change-Id: Ieab9859040e8e0df95deeaee7eeb408d3be61c0f Reviewed-on: https://go-review.googlesource.com/9902 Reviewed-by: Josh Bleecher Snyder <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
- Loading branch information