]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.21] go/internal/gccgoimporter: recognize "any" as a builtin type
authorIan Lance Taylor <iant@golang.org>
Mon, 23 Oct 2023 21:32:44 +0000 (14:32 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 12 Jun 2024 18:44:07 +0000 (18:44 +0000)
commit7e563a0a32be074f4bf48ddb27bf1185fa2133d9
treecec78563c6e2925be2ceba279a542bbb0eeaf96c
parent48103d97a84d549b44bc4764df6958f73ba5ee02
[release-branch.go1.21] go/internal/gccgoimporter: recognize "any" as a builtin type

In CL 536715 we're changing the gofrontend export data to report
"any" as a builtin type. This permits us to distinguish the builtin
type from some other package-level type "any". That requires an update
to this code.

Fixes #67849

Change-Id: I91d75a056a155fa9892c4b25ab396cb4d39cc8e4
Reviewed-on: https://go-review.googlesource.com/c/go/+/537195
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
(cherry picked from commit b8ac61e6e64c92f23d8cf868a92a70d13e20a124)
Reviewed-on: https://go-review.googlesource.com/c/go/+/592216
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/go/internal/gccgoimporter/parser.go