summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T9881.script
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-12-22 12:00:10 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-12-22 12:01:27 +0000
commitcf0a55d76cf945a97fc229b77d6e6177fb14125d (patch)
treee8dd2f63799aa09c4c964c8043f6b17d9cfa7f12 /testsuite/tests/ghci/scripts/T9881.script
parent2ba36b656f7f0522d702ae0cc92b5fbe289f1333 (diff)
downloadhaskell-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.script3
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