[GHC] #8749: Pattern synonyms crash GHCi

GHC ghc-devs at haskell.org
Sat Feb 8 09:14:41 UTC 2014


#8749: Pattern synonyms crash GHCi
------------------------------------+-------------------------------------
       Reporter:  monoidal          |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.7
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 {{{
 ghci -XPatternSynonyms
 > let pattern P x = x
 }}}

 causes a panic. I understand pattern synonyms are currently unsupported in
 GHCi, but we should give an error message, not a panic.

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


More information about the ghc-tickets mailing list