#675: Bad error message in GHCi
------------------------------+---------------------------------------------
  Reporter:  guest            |          Owner:         
      Type:  feature request  |         Status:  closed 
  Priority:  normal           |      Milestone:         
 Component:  GHCi             |        Version:  6.4.1  
  Severity:  normal           |     Resolution:  fixed  
  Keywords:                   |             Os:  Unknown
Difficulty:  Unknown          |   Architecture:  Unknown
------------------------------+---------------------------------------------
Changes (by simonpj):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 Yes, I improved the error reporting in the head -- no more Show (IO ())
 nonsense --  so I declare the original bug fixed.

 As a separate matter, in the HEAD I also relaxed the defaulting rules, so
 that GHC will apply the standard defaulting rules if
 a) All of the ambiguous classes are single-parameter
 b) At least one is numeric, or Eq, Ord, or Show

 In this case the conditions apply. GHC chooses Integer (not () as claimed)
 and runs the test at that type.

 The relaxation of defaulting is easy to reverse if you don't like it, but
 people seemed to want it.

-- 
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/675>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to