#8577: Polymorphism and typed TH -------------------------------------+------------------------------------ Reporter: monoidal | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"8b642debfabe00377f47d461d31d70636bf0fce3/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="8b642debfabe00377f47d461d31d70636bf0fce3" Typecheck typed TH splices properly (fix Trac #8577) This was an egregious error. If e :: T (Q ty1) then when we have the splice $e :: ty2 we must ensure that ty1~ty2 before we even think about running the splice! I took the opportunity to remove the dead-code tcSpliceDecls altogether. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8577#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler