summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7453.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2013-04-29 17:33:32 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2013-04-29 17:34:16 +0100
commitd5bd2d37a84ec0fdb8a987ef58c3ad071a35afa3 (patch)
treed15ba2c43d8fe574db64129acb3a03bd745406c8 /testsuite/tests/typecheck/should_fail/T7453.stderr
parentf5d36751dad2d6d6d52649b746bb3c73a4ece076 (diff)
downloadhaskell-d5bd2d37a84ec0fdb8a987ef58c3ad071a35afa3.tar.gz
Wibbles to error messages, following the fix for Trac #7851
In effect, the error context for naked variables now takes up a "slot" in the context stack; but it is often empty. So the context stack becomes one shorter in those cases. I don't think this matters; indeed, it's aguably an improvement. Anyway that's why so many tests are affected.
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T7453.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T7453.stderr10
1 files changed, 0 insertions, 10 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T7453.stderr b/testsuite/tests/typecheck/should_fail/T7453.stderr
index 4a95105f44..9345595fb4 100644
--- a/testsuite/tests/typecheck/should_fail/T7453.stderr
+++ b/testsuite/tests/typecheck/should_fail/T7453.stderr
@@ -12,7 +12,6 @@ T7453.hs:10:30:
aux :: Id t1 (bound at T7453.hs:10:21)
In the first argument of ‛Id’, namely ‛v’
In the expression: Id v
- In an equation for ‛aux’: aux = Id v
T7453.hs:16:33:
Couldn't match expected type ‛t2’ with actual type ‛t’
@@ -27,7 +26,6 @@ T7453.hs:16:33:
aux :: b -> t2 (bound at T7453.hs:16:21)
In the first argument of ‛const’, namely ‛v’
In the expression: const v
- In an equation for ‛aux’: aux = const v
T7453.hs:21:15:
Couldn't match expected type ‛t2’ with actual type ‛t’
@@ -45,11 +43,3 @@ T7453.hs:21:15:
z = v
where
aux = const v
- In an equation for ‛cast3’:
- cast3 v
- = z
- where
- z :: t
- z = v
- where
- aux = const v