
#15788: Core Lint error, from visible kind applications -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 Resolution: | Keywords: #12045 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 Iceland_jack): Giving `k` a signature fixes is `data A :: forall (k :: Type). Type`. This also works fine: {{{#!hs data B :: forall k (a :: k). Type where MkB :: a -> B @Type @a data C :: forall }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15788#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler