[GHC] #11039: Panic with incorrect pattern synonym signature

GHC ghc-devs at haskell.org
Fri Oct 30 19:52:49 UTC 2015


#11039: Panic with incorrect pattern synonym signature
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:
               Type:  bug            |            Status:  new
           Priority:  high           |         Milestone:
          Component:  Compiler       |           Version:  7.11
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 {-# LANGUAGE PatternSynonyms #-}
 module Foo () where

 data A a = A a

 pattern Q :: () => (A ~ f) => a -> f a
 pattern Q a = A a
 }}}

 error with HEAD

 {{{
 poly-export2.hs:7:9: error:ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 7.11.20151030 for x86_64-apple-darwin):
         No skolem info: f_amp[sk]
 }}}

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


More information about the ghc-tickets mailing list