[GHC] #9705: Panic on a pattern synonym in a class

GHC ghc-devs at haskell.org
Sun Oct 19 13:14:05 UTC 2014


#9705: Panic on a pattern synonym in a class
-------------------------------------+-------------------------------------
       Reporter:  monoidal           |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.8.3
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:  Compile-
     Blocked By:                     |  time crash
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 This silly code causes a panic in rnMethodBind:

 {{{#!hs
 {-# LANGUAGE PatternSynonyms #-}
 class C a where
   pattern P = ()
 }}}

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


More information about the ghc-tickets mailing list