]> Cypherpunks repositories - gostls13.git/commit
go/types: generate typeset.go from types2 source
authorRobert Griesemer <gri@golang.org>
Wed, 28 Feb 2024 19:49:37 +0000 (11:49 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 29 Feb 2024 22:05:45 +0000 (22:05 +0000)
commit691f5b8e74e7a2d11740f54a4a6827ff7ec9f661
tree6c75b81a4dc047b0cb6aab22bf63b1594e3fdb06
parent13e5fd95f50127b2d2c42b20f9070d42a2717eb9
go/types: generate typeset.go from types2 source

To simplify the translation, use extra atPos calls where needed
in the respective types2 source.

This CL reduces the amount of code that needs to be maintained
manually by about 420 LOC.

Change-Id: I839844a6e85ccb1111d76c43de23127d8f9fbbce
Reviewed-on: https://go-review.googlesource.com/c/go/+/567776
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/typeset.go
src/go/types/generate_test.go
src/go/types/typeset.go