[GHC] #7730: :info and polykinds
GHC
ghc-devs
Tue Oct 8 16:54:49 UTC 2013
#7730: :info and polykinds
--------------------------------------------+------------------------------
Reporter: monoidal | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler (Type checker) | Version: 7.6.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
--------------------------------------------+------------------------------
Comment (by simonpj):
Another example
{{{
data T a = forall a. MkT a
}}}
The inner `a` shadows the outer one, so this really means:
{{{
data T a where
MkT :: forall b. b -> T a
}}}
but it displays as
{{{
data T a where
MkT :: a -> T a
}}}
which is desperately confusing.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7730#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list