summaryrefslogtreecommitdiff
path: root/testsuite/tests/arrows
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/arrows
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/arrows')
-rw-r--r--testsuite/tests/arrows/should_fail/T5380.stderr4
1 files changed, 0 insertions, 4 deletions
diff --git a/testsuite/tests/arrows/should_fail/T5380.stderr b/testsuite/tests/arrows/should_fail/T5380.stderr
index 567450ef27..6ffe59955a 100644
--- a/testsuite/tests/arrows/should_fail/T5380.stderr
+++ b/testsuite/tests/arrows/should_fail/T5380.stderr
@@ -11,8 +11,6 @@ T5380.hs:7:27:
b :: not_bool (bound at T5380.hs:7:7)
In the expression: b
In the expression: proc () -> if b then f -< () else f -< ()
- In an equation for ‛testB’:
- testB b f = proc () -> if b then f -< () else f -< ()
T5380.hs:7:34:
Couldn't match type ‛not_unit’ with ‛()’
@@ -27,5 +25,3 @@ T5380.hs:7:34:
(bound at T5380.hs:7:1)
In the expression: f
In the expression: proc () -> if b then f -< () else f -< ()
- In an equation for ‛testB’:
- testB b f = proc () -> if b then f -< () else f -< ()