Note [Ct kind invariant]
CEqCan requires that the kind of the lhs matches the kind of the rhs. This is necessary because these constraints are used for substitutions during solving. If the kinds differed, then the substitution would take a well-kinded type to an ill-kinded one.
References 0
This Note does not link to any other.
Referenced by 1
- Canonical equalities GHC.Tc.Types.Constraint