[GHC] #5951: Panic on Malformed instance A => B => C

GHC cvs-ghc at haskell.org
Tue Jun 19 20:45:37 CEST 2012


#5951: Panic on Malformed instance A => B => C
---------------------------------------+------------------------------------
  Reporter:  br1                       |          Owner:                  
      Type:  bug                       |         Status:  closed          
  Priority:  normal                    |      Milestone:  7.6.1           
 Component:  Compiler                  |        Version:  7.4.1           
Resolution:  fixed                     |       Keywords:                  
        Os:  Unknown/Multiple          |   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash        |     Difficulty:  Unknown         
  Testcase:  rename/should_fail/T5951  |      Blockedby:                  
  Blocking:                            |        Related:                  
---------------------------------------+------------------------------------

Comment(by dag):

 Actually, I suspect that it's the comma and not the equality constraint,
 and that multiple contexts would work as well.  Otherwise, it's
 interpreted to be an instance declaration for the Ord class itself, and
 the error is that fromList is not a visible member.

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



More information about the Glasgow-haskell-bugs mailing list