[GHC] #14552: GHC panic on pattern synonym

GHC ghc-devs at haskell.org
Thu Jan 4 17:40:56 UTC 2018


#14552: GHC panic on pattern synonym
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms, TypeInType,
                                     |  ViewPatterns
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"307d1dfe1d705379eafad6dba65e651ae3465cda/ghc" 307d1df/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="307d1dfe1d705379eafad6dba65e651ae3465cda"
 Fix deep, dark corner of pattern synonyms

 Trac #14552 showed a very obscure case where we can't infer a
 good pattern-synonym type.

 The error message is horrible, but at least we no longer crash
 and burn.
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14552#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list