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.
Showing
- compiler/rename/RnEnv.hs 54 additions, 27 deletionscompiler/rename/RnEnv.hs
- compiler/typecheck/TcRnDriver.hs 9 additions, 30 deletionscompiler/typecheck/TcRnDriver.hs
- testsuite/tests/ghci.debugger/scripts/break019.stderr 1 addition, 1 deletiontestsuite/tests/ghci.debugger/scripts/break019.stderr
- testsuite/tests/ghci/scripts/T9881.script 3 additions, 0 deletionstestsuite/tests/ghci/scripts/T9881.script
- testsuite/tests/ghci/scripts/T9881.stdout 32 additions, 0 deletionstestsuite/tests/ghci/scripts/T9881.stdout
- testsuite/tests/ghci/scripts/all.T 1 addition, 0 deletionstestsuite/tests/ghci/scripts/all.T
Loading
Please register or sign in to comment