[GHC] #14174: GHC panic with TypeInType and type family

GHC ghc-devs at haskell.org
Sun Sep 3 13:46:56 UTC 2017


#14174: GHC panic with TypeInType and type family
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.2
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Here is a simpler way to trigger the same panic
 {{{
 {-# LANGUAGE  TypeInType, RankNTypes, KindSignatures, PolyKinds #-}
 module Foo where

 data T k (x :: k) = MkT

 data S x = MkS (T (x Int) x)
 }}}

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


More information about the ghc-tickets mailing list