diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2015-01-03 23:27:21 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2015-01-06 14:18:44 +0000 |
commit | 00e1fc1b18e1b5aa5db18bee9f9adc67435f00b0 (patch) | |
tree | debc157bb5e87e8cf464f9fd9517c089a9dd5861 /testsuite/tests/annotations | |
parent | f17992a4954ac14cc6a3fe6a61ec6544a098da93 (diff) | |
download | haskell-00e1fc1b18e1b5aa5db18bee9f9adc67435f00b0.tar.gz |
Modify a couple of error messages slightly
In particular
In the type signature for:
f :: Int -> Int
I added the colon
Also reword the "maybe you haven't applied a function to enough arguments?"
suggestion to make grammatical sense.
These tiny changes affect a lot of error messages.
Diffstat (limited to 'testsuite/tests/annotations')
-rw-r--r-- | testsuite/tests/annotations/should_fail/annfail08.stderr | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail08.stderr b/testsuite/tests/annotations/should_fail/annfail08.stderr index 0449033685..1c6f9f645c 100644 --- a/testsuite/tests/annotations/should_fail/annfail08.stderr +++ b/testsuite/tests/annotations/should_fail/annfail08.stderr @@ -1,12 +1,12 @@ - -annfail08.hs:9:1: - No instance for (Data.Data.Data (a0 -> a0)) - (maybe you haven't applied enough arguments to a function?) - arising from an annotation - In the annotation: {-# ANN f (id + 1) #-} - -annfail08.hs:9:15: - No instance for (Num (a0 -> a0)) - (maybe you haven't applied enough arguments to a function?) - arising from a use of ‘+’ - In the annotation: {-# ANN f (id + 1) #-} +
+annfail08.hs:9:1:
+ No instance for (Data.Data.Data (a0 -> a0))
+ (maybe you haven't applied a function to enough arguments?)
+ arising from an annotation
+ In the annotation: {-# ANN f (id + 1) #-}
+
+annfail08.hs:9:15:
+ No instance for (Num (a0 -> a0))
+ (maybe you haven't applied a function to enough arguments?)
+ arising from a use of ‘+’
+ In the annotation: {-# ANN f (id + 1) #-}
|