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/arrows | |
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/arrows')
-rw-r--r-- | testsuite/tests/arrows/should_fail/T5380.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/arrows/should_fail/T5380.stderr b/testsuite/tests/arrows/should_fail/T5380.stderr index 1f8d4518fb..bff48f5233 100644 --- a/testsuite/tests/arrows/should_fail/T5380.stderr +++ b/testsuite/tests/arrows/should_fail/T5380.stderr @@ -2,8 +2,8 @@ T5380.hs:7:27: Couldn't match expected type ‘Bool’ with actual type ‘not_bool’ ‘not_bool’ is a rigid type variable bound by - the type signature for - testB :: not_bool -> (() -> ()) -> () -> not_unit + the type signature for: + testB :: not_bool -> (() -> ()) -> () -> not_unit at T5380.hs:6:10 Relevant bindings include b :: not_bool (bound at T5380.hs:7:7) @@ -15,8 +15,8 @@ T5380.hs:7:27: T5380.hs:7:34: Couldn't match type ‘not_unit’ with ‘()’ ‘not_unit’ is a rigid type variable bound by - the type signature for - testB :: not_bool -> (() -> ()) -> () -> not_unit + the type signature for: + testB :: not_bool -> (() -> ()) -> () -> not_unit at T5380.hs:6:10 Expected type: () -> not_unit Actual type: () -> () |