summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T9881.stdout
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.stdout
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.stdout')
-rw-r--r--testsuite/tests/ghci/scripts/T9881.stdout32
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T9881.stdout b/testsuite/tests/ghci/scripts/T9881.stdout
new file mode 100644
index 0000000000..6866a6a79c
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T9881.stdout
@@ -0,0 +1,32 @@
+data Data.ByteString.Lazy.ByteString
+ = Data.ByteString.Lazy.Internal.Empty
+ | Data.ByteString.Lazy.Internal.Chunk {-# UNPACK #-}Data.ByteString.ByteString
+ Data.ByteString.Lazy.ByteString
+ -- Defined in ‘Data.ByteString.Lazy.Internal’
+instance Eq Data.ByteString.Lazy.ByteString
+ -- Defined in ‘Data.ByteString.Lazy.Internal’
+instance Ord Data.ByteString.Lazy.ByteString
+ -- Defined in ‘Data.ByteString.Lazy.Internal’
+instance Read Data.ByteString.Lazy.ByteString
+ -- Defined in ‘Data.ByteString.Lazy.Internal’
+instance Show Data.ByteString.Lazy.ByteString
+ -- Defined in ‘Data.ByteString.Lazy.Internal’
+instance Monoid Data.ByteString.Lazy.ByteString
+ -- Defined in ‘Data.ByteString.Lazy.Internal’
+
+data Data.ByteString.ByteString
+ = Data.ByteString.Internal.PS {-# UNPACK #-}(GHC.ForeignPtr.ForeignPtr
+ GHC.Word.Word8)
+ {-# UNPACK #-}Int
+ {-# UNPACK #-}Int
+ -- Defined in ‘Data.ByteString.Internal’
+instance Eq Data.ByteString.ByteString
+ -- Defined in ‘Data.ByteString.Internal’
+instance Ord Data.ByteString.ByteString
+ -- Defined in ‘Data.ByteString.Internal’
+instance Read Data.ByteString.ByteString
+ -- Defined in ‘Data.ByteString.Internal’
+instance Show Data.ByteString.ByteString
+ -- Defined in ‘Data.ByteString.Internal’
+instance Monoid Data.ByteString.ByteString
+ -- Defined in ‘Data.ByteString.Internal’