summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T10971b.stderr
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-01-25 10:22:29 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-27 17:39:49 -0500
commit5d6009a88156ad42b387383e41a7e0707c7f06a4 (patch)
treed2384dfb0328e4b6f31fc886e2b1732cfd31f157 /testsuite/tests/typecheck/should_fail/T10971b.stderr
parent93ae0e2a95ff57b587d673aa8946ee710012b37e (diff)
downloadhaskell-5d6009a88156ad42b387383e41a7e0707c7f06a4.tar.gz
Add instances for GHC.Tuple.Solo
The `Applicative` instance is the most important one (for array/vector/sequence indexing purposes), but it deserves all the usual ones. T12545 does silly 1% wibbles both ways, it seems, maybe depending on architecture. Metric Increase: T12545 Metric Decrease: T12545
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T10971b.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T10971b.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T10971b.stderr b/testsuite/tests/typecheck/should_fail/T10971b.stderr
index 3ac8c4400b..0947ab1b6f 100644
--- a/testsuite/tests/typecheck/should_fail/T10971b.stderr
+++ b/testsuite/tests/typecheck/should_fail/T10971b.stderr
@@ -10,7 +10,7 @@ T10971b.hs:4:11: error:
instance Foldable (Either a) -- Defined in ‘Data.Foldable’
instance Foldable Maybe -- Defined in ‘Data.Foldable’
instance Foldable ((,) a) -- Defined in ‘Data.Foldable’
- ...plus one other
+ ...plus two others
...plus 29 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the expression: length x
@@ -28,7 +28,7 @@ T10971b.hs:5:13: error:
instance Traversable (Either a) -- Defined in ‘Data.Traversable’
instance Traversable Maybe -- Defined in ‘Data.Traversable’
instance Traversable ((,) a) -- Defined in ‘Data.Traversable’
- ...plus one other
+ ...plus two others
...plus 29 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the expression: fmapDefault f x
@@ -46,7 +46,7 @@ T10971b.hs:6:14: error:
instance Traversable (Either a) -- Defined in ‘Data.Traversable’
instance Traversable Maybe -- Defined in ‘Data.Traversable’
instance Traversable ((,) a) -- Defined in ‘Data.Traversable’
- ...plus one other
+ ...plus two others
...plus 29 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the expression: fmapDefault f x
@@ -64,7 +64,7 @@ T10971b.hs:6:31: error:
instance Foldable (Either a) -- Defined in ‘Data.Foldable’
instance Foldable Maybe -- Defined in ‘Data.Foldable’
instance Foldable ((,) a) -- Defined in ‘Data.Foldable’
- ...plus one other
+ ...plus two others
...plus 29 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the expression: length x