go/types, types2: improve API for setting type parameter constraints in importers #52104
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
As we saw in #51219, the fact that SetConstraint eagerly computes the constraint type set makes the API awkward to use for importers.
We should investigate if this API restriction can be removed or improved.
CC @griesemer
The text was updated successfully, but these errors were encountered: