#11959: Importing doubly exported pattern synonym and associated pattern synonym panics -------------------------------------+------------------------------------- Reporter: darchon | Owner: Type: bug | Status: patch Priority: high | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1-rc3 Resolution: | Keywords: | PatternSynonyms Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2132, Wiki Page: | Phab:D2133 -------------------------------------+------------------------------------- Comment (by Simon Peyton Jones <simonpj@…>): In [changeset:"393928db9fc35ef8bdeb241c051224a6c4bdf749/ghc" 393928db/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="393928db9fc35ef8bdeb241c051224a6c4bdf749" Fix renamer panic This patch fixes Trac #12216 and #12127. The 'combine' function in 'imp_occ_env' in RnNames.filterImports checked for an empty field-selector list, which was (a) unnecessary and (b) wrong. I've elaborated the comments. This does NOT fix #11959 which is related but not the same (it concerns bundling of pattern synonyms). }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11959#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler