[GHC] #8706: Kind operators not parsed
GHC
ghc-devs at haskell.org
Mon Jan 27 17:53:37 UTC 2014
#8706: Kind operators not parsed
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 7.7
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
-------------------------------------+-------------------------------------
Take the following module:
{{{
{-# LANGUAGE DataKinds, TypeOperators, TypeFamilies #-}
data a + b = Inl a | Inr b
type family Foo :: Bool + Bool
}}}
HEAD produces
{{{
/Users/rae/temp/Bug.hs:5:25: parse error on input ‛+’
}}}
It seems that type operators promoted to kinds are not parsed correctly.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8706>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list