go/types, types2: preserve the original constraint for the Constraint API #49787
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
release-blocker
Milestone
An consequence of CL 353139 is that we lost the connection of a type parameter of its original constraint, as exposed by the
Constraint()
API. I believe this was an oversight: especially now that we are returning the constraint interface viaUnderlying()
, we should preserve the original (possibly defined) type in theConstraint()
API.CC @griesemer
The text was updated successfully, but these errors were encountered: