[GHC] #13736: GHC panic with DataKinds and TypeOperators
GHC
ghc-devs at haskell.org
Sun May 21 17:04:37 UTC 2017
#13736: GHC panic with DataKinds and TypeOperators
-------------------------------------+-------------------------------------
Reporter: turion | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
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:
-------------------------------------+-------------------------------------
The following program causes a GHC panic:
{{{#!hs
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE KindSignatures #-}
import GHC.TypeLits
data Proxy (n :: Nat) = Proxy
data Foo a = Foo a
foo :: Foo (Proxy (2 * 2))
foo = Foo _
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13736>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list