Add explanations for unsolved Typeable constraints
Ticket: #26532 (closed)
This MR adds explanations for unsolved 'Typeable' constraints.
GHC will now provide additional explanations for an unsolved constraint of the form Typeable ty, explain why GHC did not solve Typeable constraint, there are five cases:
tyis a polymorphic type (e.g. forall a. a -> a)tyis a qualified type (e.g. Eq Int => Int)tyis an unboxed sum typetyis an unreduced type family applicationtywhose kind is not typeable
Edited by Mrjtjmn