[GHC] #5978: Type error in one function causes wrong type error report in another function in the presence of functionally dependent types

GHC cvs-ghc at haskell.org
Thu Mar 29 11:18:43 CEST 2012


#5978: Type error in one function causes wrong type error report in another
function in the presence of functionally dependent types
----------------------------------------+-----------------------------------
    Reporter:  Lemming                  |       Owner:                           
        Type:  bug                      |      Status:  new                      
    Priority:  normal                   |   Milestone:                           
   Component:  Compiler (Type checker)  |     Version:  7.4.1                    
    Keywords:                           |          Os:  Unknown/Multiple         
Architecture:  Unknown/Multiple         |     Failure:  GHC rejects valid program
  Difficulty:  Unknown                  |    Testcase:                           
   Blockedby:                           |    Blocking:                           
     Related:                           |  
----------------------------------------+-----------------------------------

Comment(by Lemming):

 Would you suggest that I convert my code to type families?

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



More information about the Glasgow-haskell-bugs mailing list