
#9867: PatternSynonyms + ScopedTypeVariables triggers an internal error -------------------------------------+------------------------------------- Reporter: antalsz | Owner: cactus Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by cactus): I think we need to zonk the typechecked pattern before passing it to `tc_patsyn_finish`, so that the signature in it can be replaced with `[a{tv awx}]`. `TcHsSyn` doesn't currently export `zonkPat` but hopefully it will be enough to pass it an empty `ZonkEnv`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9867#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler