]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: pull up Unalias call to cover all of cycleFinder.typ
authorRobert Griesemer <gri@golang.org>
Thu, 23 May 2024 23:30:20 +0000 (16:30 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 24 May 2024 13:54:20 +0000 (13:54 +0000)
commit3ea2be1e4786abd39bc1fbd429c936d9fb89ec00
tree5513d3900d24940dfd670819356390a1124f20ff
parent35ef4a9f330fdff870ff637558ec2fd03a93fd9c
go/types, types2: pull up Unalias call to cover all of cycleFinder.typ

Without a test because it's unclear the situation can actually occur,
but the code is correct because it now mimics the behavior without
explicit Alias nodes.

For #67547.

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