summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-02-09 14:39:39 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-09 15:09:52 +0100
commitc8702e3092250b89f60ad3fe7c71c627e5f388f6 (patch)
tree7fb3cd5435baa47e7ee7e2da1e3832b9f68051f6 /testsuite/tests/annotations
parent1f894f298d8f90a4a49196fcda44a696e16ab769 (diff)
downloadhaskell-c8702e3092250b89f60ad3fe7c71c627e5f388f6.tar.gz
TcErrors: Fix plural form of "instance" error
Previously "types" was inappropriately made plural instead of "instance", instance Eq Ordering -- Defined in ‘GHC.Classes’ ...plus 24 others ...plus 13 instance involving out-of-scope typess
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 3d55d4aed4..9d42f5117d 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 24 instance involving out-of-scope typess
+ ...plus 24 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 12 instance involving out-of-scope typess
+ ...plus 12 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the annotation: {-# ANN f 1 #-}