You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the type checker, our notion of type identity for signatures considers type parameters in the signature declaration identical if they have identical constraints. In other words, it ignores the type parameter names:
In the type checker, our notion of type identity for signatures considers type parameters in the signature declaration identical if they have identical constraints. In other words, it ignores the type parameter names:
But we don't extend this type parameter identity when comparing parameters or results:
This is most likely an oversight since it doesn't matter in type-checked code, but we should be consistent.
CC @griesemer
The text was updated successfully, but these errors were encountered: