rename: hadle type signatures with typos
authorWojciech Baranowski <wbaranowski@protonmail.com>
Sun, 7 Apr 2019 16:25:05 +0000 (19:25 +0300)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Tue, 30 Apr 2019 01:02:38 +0000 (21:02 -0400)
commit2c115085982ba19985f2e00ca938370647e38e4b
tree68027543c668f37e65e9a8cbda5a7e69536a64ba
parent0040af598865733e6565530f4b036e11563976fc
rename: hadle type signatures with typos

When encountering type signatures for unknown names, suggest similar
alternatives.

This fixes issue #16504
compiler/rename/RnEnv.hs
testsuite/tests/parser/should_fail/readFail001.stderr
testsuite/tests/rename/should_fail/T16504.hs [new file with mode: 0644]
testsuite/tests/rename/should_fail/T16504.stderr [new file with mode: 0644]
testsuite/tests/rename/should_fail/all.T