
#9858: Typeable instances should be kind-aware -------------------------------------+------------------------------------- Reporter: dreixel | Owner: Type: bug | Status: merge Priority: highest | Milestone: 7.10.2 Component: Compiler | Version: 7.9 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | typecheck/should_fail/T9858a, | should_run/T9858b | Blocking: | Differential Revisions: Phab:D652 -------------------------------------+------------------------------------- Comment (by goldfire): Simon, I see how your fix eliminates the problem, but do you know what caused it in the first place? It might be a tad drastic to just forbid `Typeable` instances over constraints. For example, should `Dict (Show Foo)` be `Typeable`? I think it's reasonable to assume so. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9858#comment:86 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler