]> Cypherpunks repositories - gostls13.git/commit
go/types: introduce the error_ type to match types2
authorRobert Findley <rfindley@google.com>
Mon, 18 Apr 2022 21:54:40 +0000 (17:54 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 22 Apr 2022 15:46:52 +0000 (15:46 +0000)
commit65d7345e8ba77bea9dd3d694d0015308416e3280
treeb6f829950c5bcd978aa363e1f62e658600ae4985
parent1899472647513e6a63a95481493c45c579ec0cd8
go/types: introduce the error_ type to match types2

To begin aligning with types2 error reporting, use an error_ type to
hold unevaluated error information, to report via Checker.report.

Change-Id: Ic5ac515759961e55b81acc9eeaac4db25b61804c
Reviewed-on: https://go-review.googlesource.com/c/go/+/400824
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
src/go/types/errors.go
src/go/types/errors_test.go