[GHC] #9881: GHCi gives misleading error message when looking up info of ambiguous type
GHC
ghc-devs at haskell.org
Mon Dec 22 13:24:50 UTC 2014
#9881: GHCi gives misleading error message when looking up info of ambiguous type
-------------------------------------+-------------------------------------
Reporter: | Owner: simonpj
RyanGlScott | Status: new
Type: bug | Milestone:
Priority: normal | Version: 7.8.3
Component: GHCi | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: Other | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones <simonpj@…>):
In [changeset:"cf0a55d76cf945a97fc229b77d6e6177fb14125d/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="cf0a55d76cf945a97fc229b77d6e6177fb14125d"
For :info, return all matching Names, rather than complaining about
ambiguity
This fixes Trac #9881, and gives more helpful output in the case of
ambiguity.
Certainly more helpful than the positively-misleading error we get right
now.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9881#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list