[GHC] #12698: GHC panic on pattern synonym

GHC ghc-devs at haskell.org
Thu Oct 13 19:49:56 UTC 2016


#12698: GHC panic on pattern synonym
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 Works if supplied with type signature

 {{{#!hs
 pattern Foo :: () => [Int] ~~ t => T t
 pattern Foo = List :<->: Int
 }}}

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


More information about the ghc-tickets mailing list