#7278: nonsensical kind variable ascription causes panic
--------------------------------+-------------------------------------------
 Reporter:  nfrisby             |          Owner:                         
     Type:  bug                 |         Status:  new                    
 Priority:  normal              |      Component:  Compiler (Type checker)
  Version:  7.6.1               |       Keywords:                         
       Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple       
  Failure:  Compile-time crash  |       Testcase:                         
Blockedby:                      |       Blocking:                         
  Related:                      |  
--------------------------------+-------------------------------------------

Comment(by nfrisby):

 Whoops — submitted too soon … again; I wish preview worked on comments.

 Replacing {{{t :: k}}} with {{{t}}} in the context in f's signature and
 adding {{{FlexibleContexts}}} avoids the panic.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to