#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):

 Since then I modified my code to work correctly...
 If you think it is not a duplicate of #7368, I think I can search my svn
 history and provide the full project version that triggers the error.

 Replying to [comment:4 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:5>
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