[GHC] #7587: Kind variables are not renamed

GHC cvs-ghc at haskell.org
Tue Jan 15 19:22:48 CET 2013


#7587: Kind variables are not renamed
-----------------------------+----------------------------------------------
Reporter:  monoidal          |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.1             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 {{{
 ghci -XPolyKinds

 Prelude> data A x y
 Prelude> :k A
 A :: k -> k -> *
 }}}

 should be {{{k -> l -> *}}}. The 'k's are allowed to be different, there
 is just a name collision.

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



More information about the ghc-tickets mailing list