go/types,cmd/compile/internal/types2: APIs for constructing and destructing constraint types #46316
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
It seems there are a few methods for querying whether an
Interface
represents a constraint (e.g.,HasTypeList
,IsComparable
,IsConstraint
), but there don't seem to be any APIs currently for users to iterate the type list or to construct the same interface again. This is necessary to support exporting constraints that use type lists./cc @griesemer @findleyr @danscales
The text was updated successfully, but these errors were encountered: