[GHC] #11554: Self quantification in GADT data declarations
GHC
ghc-devs at haskell.org
Fri May 20 11:55:23 UTC 2016
#11554: Self quantification in GADT data declarations
-------------------------------------+-------------------------------------
Reporter: Rafbill | Owner:
Type: bug | Status: new
Priority: high | Milestone: 8.0.2
Component: Compiler (Type | Version: 8.0.1-rc2
checker) |
Resolution: | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Rafbill):
The bug is still present in this slightly modified example :
{{{#!hs
{-# LANGUAGE GADTs, TypeInType, RankNTypes #-}
import Data.Kind
data P (x :: k) = Q
data A :: Type where
B :: forall (a :: A). P a -> A
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11554#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list