summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
diff options
context:
space:
mode:
authorchessai <chessai1996@gmail.com>2018-04-11 18:28:41 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-27 16:43:42 -0400
commitb67e8a3f107f7e7b2cefb526a5f956a4a3abc852 (patch)
treeefc2140c4714dc1d756f92d8f2663187ddeaf298 /testsuite/tests/annotations
parent6a9b9b431dcc94849d14c13639eb2f713e5aa1f4 (diff)
downloadhaskell-b67e8a3f107f7e7b2cefb526a5f956a4a3abc852.tar.gz
base: Introduce Data.Monoid.Ap
This data type witnesses the lifting of a monoid into an applicative pointwise.
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r--testsuite/tests/annotations/should_fail/annfail10.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail10.stderr b/testsuite/tests/annotations/should_fail/annfail10.stderr
index f7866fa3a5..9aa4c4047f 100644
--- a/testsuite/tests/annotations/should_fail/annfail10.stderr
+++ b/testsuite/tests/annotations/should_fail/annfail10.stderr
@@ -10,7 +10,7 @@ annfail10.hs:9:1: error:
instance Data.Data.Data Ordering -- Defined in ‘Data.Data’
instance Data.Data.Data Integer -- Defined in ‘Data.Data’
...plus 15 others
- ...plus 45 instances involving out-of-scope types
+ ...plus 46 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the annotation: {-# ANN f 1 #-}
@@ -23,6 +23,6 @@ annfail10.hs:9:11: error:
instance Num Double -- Defined in ‘GHC.Float’
instance Num Float -- Defined in ‘GHC.Float’
...plus two others
- ...plus 17 instances involving out-of-scope types
+ ...plus 18 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the annotation: {-# ANN f 1 #-}