logo       

Re: [GHC] #675: Bad error message in GHCi: msg#00192

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #675: Bad error message in GHCi

#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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise