Can't parse type with kind ascription with GHCi's :kind command
I was playing around with GHCi's :kind
command and noticed that trying to ascribe a type with a kind doesn't parse:
$ inplace/bin/ghc-stage2 --interactive
GHCi, version 7.11.20151219: http://www.haskell.org/ghc/ :? for help
λ> :set -XTypeInType
λ> :kind 'True :: Bool
<interactive>:1:7: error: parse error on input ‘::’
This seems like something that should be able to parse, given that :type True :: Bool
parses just fine. Is there a reason it couldn't?
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |