go/types: inconsistent type checking results with recursive aliases on 1.22 and 1.23 #70230
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Opening a new issue for #50729 (comment) .
go/types is giving inconsistent errors with recursive aliases on this example https://go.dev/play/p/CO_3yd7yyrV :
On the 1.22 playground this fails with the error:
On the 1.23 playground, this fails with the error:
gotip succeeds and outputs:
On 1.22 and 1.23, commenting out
G(c A)
makes the vet warning go away. As does moving the declaration ofX
belowE
.cc @griesemer
The text was updated successfully, but these errors were encountered: