|
Re: [GHC] #675: Bad error message in GHCi: msg#00192lang.haskell.glasgow.bugs
#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> |
|---|---|---|
| Previous by Date: | Re: [GHC] #445: panic! mkWWcpr: not a product, GHC |
|---|---|
| Next by Date: | Space leak, Ian Lynagh |
| Previous by Thread: | Re: [GHC] #675: Bad error message in GHCi, GHC |
| Next by Thread: | [GHC] #676: Write a performance checker for collections., GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |