#9889: Pattern synonym does not work in top-level pattern bind -------------------------------------+------------------------------------- Reporter: goldfire | Owner: cactus Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler (Type | Version: 7.9 checker) | Keywords: Resolution: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"5830fc449af6b2c0ef5be409fd3457114ae938ca/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="5830fc449af6b2c0ef5be409fd3457114ae938ca" Pattern synonym names need to be in scope before renaming bindings (#9889) I did a bit of refactoring at the same time, needless to say }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9889#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler