### Suggestion This is a followup to #10438 and #10496. Now that we have `getConstraintInfo`, we should use it internally and remove our existing usages of `getConstrainedTypeAtLocation`. ### Additional Info _No response_