Commit 60229e9e authored by Committed by Marge Bot
Merge TcTypeableValidity into TcTypeable, document treatment of casts
This patch: * Implements a refactoring (suggested in !1199 (comment 207345)) that moves all functions from `TcTypeableValidity` back to `TcTypeable`, as the former module doesn't really need to live on its own. * Adds `Note [Typeable instances for casted types]` to `TcTypeable` explaining why the `Typeable` solver currently does not support types containing casts. Resolves #16835.
Showing with 86 additions and 71 deletions