Closed jstolarek closed 9 years ago
Ok, I think if a user does not claim injectivity in an argument we should not allow it in the RHS.
Fix should go to unusedInjTvsInRHS
- it should calculate both kinds of tyvars at the same time and return two sets.
Need to update Note [Injectivity check....]
I think this is unnecessary.
What happens if I say:
? Here
b
is not declared as injective but is mentioned in the RHS.