summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7748a.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-01-03 23:27:21 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-01-06 14:18:44 +0000
commit00e1fc1b18e1b5aa5db18bee9f9adc67435f00b0 (patch)
treedebc157bb5e87e8cf464f9fd9517c089a9dd5861 /testsuite/tests/typecheck/should_fail/T7748a.stderr
parentf17992a4954ac14cc6a3fe6a61ec6544a098da93 (diff)
downloadhaskell-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/typecheck/should_fail/T7748a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T7748a.stderr36
1 files changed, 18 insertions, 18 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T7748a.stderr b/testsuite/tests/typecheck/should_fail/T7748a.stderr
index 63cff4aa17..a8e2921a92 100644
--- a/testsuite/tests/typecheck/should_fail/T7748a.stderr
+++ b/testsuite/tests/typecheck/should_fail/T7748a.stderr
@@ -1,18 +1,18 @@
-
-T7748a.hs:16:24:
- Couldn't match expected type ‘a’
- with actual type ‘Maybe (Maybe (r -> ()))’
- ‘a’ is a rigid type variable bound by
- the type signature for test :: a -> r -> () at T7748a.hs:11:9
- Relevant bindings include
- g :: r -> () (bound at T7748a.hs:13:16)
- f :: r -> () (bound at T7748a.hs:13:8)
- zd :: a (bound at T7748a.hs:12:6)
- test :: a -> r -> () (bound at T7748a.hs:12:1)
- In the pattern: Just (Just p)
- In a case alternative: Just (Just p) -> p
- In the expression:
- case zd of {
- Nothing -> const ()
- Just Nothing -> const ()
- Just (Just p) -> p }
+
+T7748a.hs:16:24:
+ Couldn't match expected type ‘a’
+ with actual type ‘Maybe (Maybe (r -> ()))’
+ ‘a’ is a rigid type variable bound by
+ the type signature for: test :: a -> r -> () at T7748a.hs:11:9
+ Relevant bindings include
+ g :: r -> () (bound at T7748a.hs:13:16)
+ f :: r -> () (bound at T7748a.hs:13:8)
+ zd :: a (bound at T7748a.hs:12:6)
+ test :: a -> r -> () (bound at T7748a.hs:12:1)
+ In the pattern: Just (Just p)
+ In a case alternative: Just (Just p) -> p
+ In the expression:
+ case zd of {
+ Nothing -> const ()
+ Just Nothing -> const ()
+ Just (Just p) -> p }