summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-01-31 16:20:09 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-05 19:22:25 -0500
commit549292eb3725eca61722ddd2cfb4d964ccba3fc7 (patch)
tree302c5e889a1474c8910a06897b306357b6bd704a /testsuite/tests/rename
parent299acff08aa1b7b720ad2b69c459c514033bc395 (diff)
downloadhaskell-549292eb3725eca61722ddd2cfb4d964ccba3fc7.tar.gz
Make implication tidying agree with Note [Tidying multiple names at once]
Note [Tidying multiple names at once] indicates that if multiple variables have the same name then we shouldn't prioritise one of them and instead rename them all to a1, a2, a3... etc This patch implements that change, some error message changes as expected. Closes #20932
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/should_fail/T2993.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rename/should_fail/T2993.stderr b/testsuite/tests/rename/should_fail/T2993.stderr
index 67dadf14bc..d993c398ca 100644
--- a/testsuite/tests/rename/should_fail/T2993.stderr
+++ b/testsuite/tests/rename/should_fail/T2993.stderr
@@ -1,4 +1,4 @@
T2993.hs:7:13: error:
- Variable not in scope: (<**>) :: t -> (a -> a) -> t1
+ Variable not in scope: (<**>) :: t1 -> (a -> a) -> t2
Suggested fix: Perhaps use ‘<*>’ (imported from Prelude)