[GHC] #7939: RHS of associated type not kind-checked

GHC cvs-ghc at haskell.org
Mon May 27 11:47:23 CEST 2013


#7939: RHS of associated type not kind-checked
----------------------------------------+-----------------------------------
Reporter:  goldfire                     |          Owner:  goldfire        
    Type:  bug                          |         Status:  new             
Priority:  normal                       |      Component:  Compiler        
 Version:  7.7                          |       Keywords:                  
      Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
 Failure:  GHC accepts invalid program  |      Blockedby:                  
Blocking:                               |        Related:                  
----------------------------------------+-----------------------------------

Comment(by goldfire):

 This problem is a little worse than I thought. With just

 {{{
 class Foo a where
   type Bar a
 }}}

 (with {{{-XPolyKinds}}}), I get an assertion failure in GHCi on {{{:k
 Bar}}}.

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



More information about the ghc-tickets mailing list