
#8314: ASSERTion at TcMType:809 fails on test polykinds/T6068 -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: 8129 -------------------------------------+------------------------------------ Comment (by simonpj): The comments should say #8314 not #8134. In [changeset:8cfbdccb7f8716c2b6b13b3c7884f52b1087d782/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="8cfbdccb7f8716c2b6b13b3c7884f52b1087d782" Accommodate Derived constraints in two places (fix Trac #8129, #8134) If we have class (F a ~ b) => C a b then we can produce *derived* CFunEqCans. These were not being treated properly in two places: a) in TcMType.zonkFlats (Trac #8134) b) in TcSMonad.prepareInertsForImplications (Trac #8129) This patch fixes both. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8314#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler