[GHC] #15625: GHC panic, with QuantifiedConstraints

GHC ghc-devs at haskell.org
Tue Sep 11 15:10:40 UTC 2018


#15625: GHC panic, with QuantifiedConstraints
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1-beta1
      Resolution:                    |             Keywords:
                                     |  QuantifiedConstraints
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 monoidal):

 Simpler version that also gives Core Lint warning:

 {{{
 {-# Language GADTs, MultiParamTypeClasses, QuantifiedConstraints #-}

 class a ~ b => Equal a b

 ekki__ :: (forall b. Equal a b) => a
 ekki__ = False
 }}}

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


More information about the ghc-tickets mailing list