[GHC] #16139: GHC confused about type synonym kind with QuantifiedConstraints
GHC
ghc-devs at haskell.org
Mon Jan 7 00:58:37 UTC 2019
#16139: GHC confused about type synonym kind with QuantifiedConstraints
-------------------------------------+-------------------------------------
Reporter: Ashley Yakeley | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ashley Yakeley):
Simpler program that is also incorrectly rejected:
{{{#!hs
{-# LANGUAGE KindSignatures, RankNTypes, ConstraintKinds,
QuantifiedConstraints #-}
module Bug where
import Data.Constraint
type E = forall (a :: *). Eq a => Num a
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16139#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list