diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2014-12-22 12:00:10 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2014-12-22 12:01:27 +0000 |
commit | cf0a55d76cf945a97fc229b77d6e6177fb14125d (patch) | |
tree | e8dd2f63799aa09c4c964c8043f6b17d9cfa7f12 /testsuite/tests/ghci/scripts/T9881.script | |
parent | 2ba36b656f7f0522d702ae0cc92b5fbe289f1333 (diff) | |
download | haskell-cf0a55d76cf945a97fc229b77d6e6177fb14125d.tar.gz |
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.
Diffstat (limited to 'testsuite/tests/ghci/scripts/T9881.script')
-rw-r--r-- | testsuite/tests/ghci/scripts/T9881.script | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T9881.script b/testsuite/tests/ghci/scripts/T9881.script new file mode 100644 index 0000000000..30e1ef2489 --- /dev/null +++ b/testsuite/tests/ghci/scripts/T9881.script @@ -0,0 +1,3 @@ +import Data.ByteString +import Data.ByteString.Lazy +:info ByteString |