[GHC] #14419: Check kinds for ambiguity
GHC
ghc-devs at haskell.org
Fri May 18 14:53:27 UTC 2018
#14419: Check kinds for ambiguity
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords: TypeInType
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 RyanGlScott):
After faec8d358985e5d0bf363bd96f23fe76c9e281f7, this is partially done.
This data type's kind is currently rejected for being ambiguous:
{{{#!hs
type family F a
data T1 :: forall a. F a -> Type
}}}
However, it would be premature to call this issue fixed, since the
following two data types with very similar kinds are //not// rejected as
ambiguous:
{{{#!hs
data T2 :: F a -> Type
data T3 (b :: F a)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14419#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list