[GHC] #16287: :kind accepts bogus type

GHC ghc-devs at haskell.org
Tue Feb 5 09:44:47 UTC 2019


#16287: :kind accepts bogus type
-------------------------------------+-------------------------------------
           Reporter:  simonpj        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.6.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Consider this (current HEAD)
 {{{
 ghci> type family F :: k
 ghci> data T :: (forall k. k) -> Type
 ghci> :kind T F
 T F :: *
 }}}
 This is bogus.  `F` has arity 1, and cannot appear unsaturated.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16287>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list