#7513: ghc panic in kindFunResult
---------------------------------+------------------------------------------
    Reporter:  ifigueroap        |       Owner:                  
        Type:  bug               |      Status:  infoneeded      
    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 ifigueroap):

 I'm sorry, I don't have a minimal reproducible example. The error ocurred
 when I was working in monadic code and I put a wrong type annotation,
 something like:

 {{{
 do current <- getCurrent :: m (M m)
 }}}

 the annotation was wrong because the type of getCurrent was actually

 {{{
 (AOT (MbT m)) (M m)
 }}}

 where AOT and MbT are some custom monad transformers

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7513#comment:4>
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