]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: revert to three-phase alias resolution
authorAlan Donovan <adonovan@google.com>
Tue, 9 Apr 2024 16:42:37 +0000 (12:42 -0400)
committerAlan Donovan <adonovan@google.com>
Tue, 9 Apr 2024 20:03:51 +0000 (20:03 +0000)
commita555ac63322f441f19a2a5130298c4c6ee6357dc
treee9b08bb795695d58a55f7b471ee42ca397086f52
parentecfddf4841ceaa7fd253aae0b6d9d0d59625674b
cmd/compile/internal/types2: revert to three-phase alias resolution

This change reenables the legacy three-phase resolution
(non-alias typenames, aliases, the rest) even when
GODEBUG=gotypesalias=1. Unfortunately the existing test case
for #50259 causes the simpler logic to fail.

Updates #50259
Updates #65294

Change-Id: Ibfaf8146e46760718673a916a9b220a9d678409a
Reviewed-on: https://go-review.googlesource.com/c/go/+/577616
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/resolver.go