]> Cypherpunks repositories - gostls13.git/commit
go/types: reorganize error codes into categories
authorRob Findley <rfindley@google.com>
Fri, 30 Oct 2020 15:35:48 +0000 (11:35 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 30 Oct 2020 16:27:42 +0000 (16:27 +0000)
commit676ad56095c819751ae9f61354cf0fa356e71cb6
tree215a7739b7fab7301c3f56e99ed9c7e8f608bdd5
parent2b9b2720b89d493dbf8725d0ae6664ac7835b3af
go/types: reorganize error codes into categories

In CL 264179, some reorganization of error codes was deferred in order
to minimize diffs between patch-sets.

This CL reorganizes the error codes as discussed. It is a pure
reordering, with no material changes other than the changing of internal
const values.

For #42290

Change-Id: I0e9b421a92e96b19e53039652f8de898c5255290
Reviewed-on: https://go-review.googlesource.com/c/go/+/266637
Run-TryBot: Robert Findley <rfindley@google.com>
Trust: Robert Findley <rfindley@google.com>
Trust: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/errorcodes.go