]> Cypherpunks repositories - gostls13.git/commit
go/types: unified handling of assignment errors
authorRobert Griesemer <gri@golang.org>
Thu, 17 Sep 2015 21:13:56 +0000 (14:13 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 18 Sep 2015 17:04:21 +0000 (17:04 +0000)
commit3d91624fad8be21e2e612ec28cc3a4a752c45561
tree7f367684d1f9ce7334cd2a8167bb53f589f8e237
parent3f08151ec34cebbe4f95ab87cf0f01d77c3d84df
go/types: unified handling of assignment errors

- simpler code
- closer to gc error messages
- more context information in some cases

Change-Id: Iad155a887b838a4fc1edf719eed18269670b5ede
Reviewed-on: https://go-review.googlesource.com/14720
Reviewed-by: Alan Donovan <adonovan@google.com>
14 files changed:
src/go/types/api_test.go
src/go/types/assignments.go
src/go/types/builtins.go
src/go/types/call.go
src/go/types/decl.go
src/go/types/errors.go
src/go/types/expr.go
src/go/types/stmt.go
src/go/types/testdata/builtins.src
src/go/types/testdata/decls1.src
src/go/types/testdata/expr0.src
src/go/types/testdata/expr3.src
src/go/types/testdata/issues.src
src/go/types/testdata/stmt0.src