[GHC] #15789: GHC panic using visible kind applications and a higher-rank kind

GHC ghc-devs at haskell.org
Sat Oct 20 19:53:20 UTC 2018


#15789: GHC panic using visible kind applications and a higher-rank kind
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:
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):

 this also fails:

 {{{#!hs
 {-# Language LiberalTypeSynonyms #-}
 {-# Language PolyKinds           #-}
 {-# Language RankNTypes          #-}
 {-# Language DataKinds           #-}

 import Data.Kind

 data Zero :: forall (f :: forall xx. (forall yy. yy -> Type) -> Type). f a
 }}}

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


More information about the ghc-tickets mailing list