[GHC] #9093: Type synonym accepted with out-of-scope kind variable

GHC ghc-devs at haskell.org
Mon May 12 09:00:44 UTC 2014


#9093: Type synonym accepted with out-of-scope kind variable
------------------------------------------------+--------------------------
        Reporter:  goldfire                     |            Owner:
            Type:  bug                          |           Status:  new
        Priority:  normal                       |        Milestone:
       Component:  Compiler                     |          Version:  7.8.2
      Resolution:                               |         Keywords:
Operating System:  Unknown/Multiple             |     Architecture:
 Type of failure:  GHC accepts invalid program  |  Unknown/Multiple
       Test Case:                               |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by simonpj):

 Currently it's deliberate.  How else could you declare a poly-kinded type
 synonym `X`?

 Simon

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


More information about the ghc-tickets mailing list