summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser
diff options
context:
space:
mode:
authorWojciech Baranowski <wbaranowski@protonmail.com>2019-04-07 19:25:05 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-04-29 21:02:38 -0400
commit2c115085982ba19985f2e00ca938370647e38e4b (patch)
tree68027543c668f37e65e9a8cbda5a7e69536a64ba /testsuite/tests/parser
parent0040af598865733e6565530f4b036e11563976fc (diff)
downloadhaskell-2c115085982ba19985f2e00ca938370647e38e4b.tar.gz
rename: hadle type signatures with typos
When encountering type signatures for unknown names, suggest similar alternatives. This fixes issue #16504
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r--testsuite/tests/parser/should_fail/readFail001.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail001.stderr b/testsuite/tests/parser/should_fail/readFail001.stderr
index 6425d16c49..0b6d4b4d29 100644
--- a/testsuite/tests/parser/should_fail/readFail001.stderr
+++ b/testsuite/tests/parser/should_fail/readFail001.stderr
@@ -1,6 +1,8 @@
readFail001.hs:25:11: error:
The fixity signature for ‘+#’ lacks an accompanying binding
+ Perhaps you meant ‘+’ (Defined in ‘GHC.Num’)
+ Perhaps you meant ‘++’ (Defined in ‘GHC.Base’)
readFail001.hs:38:32: error:
Not in scope: type constructor or class ‘Leaf’