#6039: Ill-sorted kinds crash GHC
---------------------------------+------------------------------------------
    Reporter:  simonpj           |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit a40ee020b53d3b397d24f4addeda78945e72292a
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Wed Apr 25 09:37:53 2012 +0100

     Better error messages during sort checking of kind signatures

     Fixes Trac #6039, where we have a bogus kind signature
        data T (a :: j k) = MkT

  compiler/typecheck/TcHsType.lhs     |   63
 ++++++++++++++++++----------------
  compiler/typecheck/TcTyClsDecls.lhs |    2 +
  2 files changed, 35 insertions(+), 30 deletions(-)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to