summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authorDavid Feuer <David.Feuer@gmail.com>2014-11-05 08:42:59 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2014-11-05 08:54:44 +0100
commit0a8e8995fd31dd46fa9bdbc7f65984b51c8c13dc (patch)
tree7825083b19768f3317470f1ec520f0c2e431e0de /testsuite/tests/ghci
parent77f8221103a98b38384edd8c2caae6cc2c4ffd72 (diff)
downloadhaskell-0a8e8995fd31dd46fa9bdbc7f65984b51c8c13dc.tar.gz
Remove redundant contexts from Foldable methods
New `Foldable` methods accidentally had `Foldable` contexts, which led to type roles being assigned incorrectly and preventing GND from deriving `Foldable` instances. Removing those fixes #9761. Moreover, this patch takes advantage of this fix by deriving `Foldable` (and `Eq`) for `UniqFM`. Differential Revision: https://phabricator.haskell.org/D425
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r--testsuite/tests/ghci/scripts/ghci025.stdout3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci025.stdout b/testsuite/tests/ghci/scripts/ghci025.stdout
index 4d21c5fc44..e5654b3734 100644
--- a/testsuite/tests/ghci/scripts/ghci025.stdout
+++ b/testsuite/tests/ghci/scripts/ghci025.stdout
@@ -53,8 +53,7 @@ class Eq a where
(GHC.Classes./=) :: a -> a -> GHC.Types.Bool
-- imported via Prelude, T
Prelude.length ::
- Data.Foldable.Foldable t =>
- forall a. Data.Foldable.Foldable t => t a -> GHC.Types.Int
+ Data.Foldable.Foldable t => forall a. t a -> GHC.Types.Int
-- imported via T
data T.Integer
= integer-gmp-0.5.1.0:GHC.Integer.Type.S# GHC.Prim.Int#