diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail174.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail174.stderr | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail174.stderr b/testsuite/tests/typecheck/should_fail/tcfail174.stderr index f37bcdf73b..f48d15369e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail174.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail174.stderr @@ -1,13 +1,13 @@ tcfail174.hs:9:10: - Couldn't match expected type ‛forall a. a -> a’ - with actual type ‛a0 -> a0’ - In the first argument of ‛Base’, namely ‛id’ + Couldn't match expected type ‘forall a. a -> a’ + with actual type ‘a0 -> a0’ + In the first argument of ‘Base’, namely ‘id’ In the expression: Base id tcfail174.hs:13:14: - Couldn't match type ‛a’ with ‛a1’ - because type variable ‛a1’ would escape its scope + Couldn't match type ‘a’ with ‘a1’ + because type variable ‘a1’ would escape its scope This (rigid, skolem) type variable is bound by the type forall a2. a2 -> a2 at tcfail174.hs:13:14 @@ -15,18 +15,18 @@ tcfail174.hs:13:14: Actual type: Capture (forall a. a -> a) Relevant bindings include h1 :: Capture a (bound at tcfail174.hs:13:1) - In the first argument of ‛Capture’, namely ‛g’ + In the first argument of ‘Capture’, namely ‘g’ In the expression: Capture g tcfail174.hs:16:14: - Couldn't match type ‛a’ with ‛b’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘b’ + ‘a’ is a rigid type variable bound by the type forall a1. a1 -> a1 at tcfail174.hs:16:14 - ‛b’ is a rigid type variable bound by + ‘b’ is a rigid type variable bound by the type signature for h2 :: Capture b at tcfail174.hs:15:7 Expected type: Capture (forall x. x -> b) Actual type: Capture (forall a. a -> a) Relevant bindings include h2 :: Capture b (bound at tcfail174.hs:16:1) - In the first argument of ‛Capture’, namely ‛g’ + In the first argument of ‘Capture’, namely ‘g’ In the expression: Capture g |