go/types: avoid infinite recursion in Comparable #43088
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
https://golang.org/cl/276374 fixes an infinite recursion in the
Comparable
function of thecmd/compile/internal/types2
package in thedev.typeparams
branch, which is based ongo/types
.This bug is present in
go/types
as well, though it can't be hit via normal type-checking. However, it is possible to reach via the API, for exampleWe should probably port CL 276374 to go/types for 1.16.
CC @griesemer
The text was updated successfully, but these errors were encountered: