[GHC] #7222: The text "Possible fix: add an instance declaration for ..." is redundant and not usually helpful

GHC cvs-ghc at haskell.org
Thu Sep 6 11:40:56 CEST 2012


#7222: The text "Possible fix: add an instance declaration for ..." is redundant
and not usually helpful
------------------------------+---------------------------------------------
 Reporter:  maltem            |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.4.2             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  Other             |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by danlewis):

 As far as (2) goes, one improvement would be to refrain from suggesting
 adding an instance if that instance would be an orphan.  This would
 suppress the message in errors stemming from library misuse.

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



More information about the Glasgow-haskell-bugs mailing list