Add mkHsCoerce to avoid junk in typechecked code
Avoiding identity coercions is a Good Thing generally, but it turns out that the desugarer has trouble recognising 'otherwise' and 'True' guards if they are wrapped in an identity coercion; and that leads to bogus overlap warnings.
Please register or sign in to comment