Pattern synonym names need to be in scope before renaming bindings (#9889)
authorDr. ERDI Gergo <gergo@erdi.hu>
Wed, 17 Dec 2014 14:09:06 +0000 (22:09 +0800)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 9 Jan 2015 15:48:15 +0000 (15:48 +0000)
commit5830fc449af6b2c0ef5be409fd3457114ae938ca
tree1c5aaec0bcfc183c9533942c9e0190686c216b12
parent678df4c2930c4aef61b083edb0f5c4d8c8914a76
Pattern synonym names need to be in scope before renaming bindings (#9889)

I did a bit of refactoring at the same time, needless to say
13 files changed:
compiler/hsSyn/HsBinds.hs
compiler/hsSyn/HsUtils.hs
compiler/rename/RnBinds.hs
compiler/rename/RnEnv.hs
compiler/rename/RnNames.hs
compiler/rename/RnPat.hs
compiler/rename/RnSource.hs
compiler/typecheck/TcBinds.hs
testsuite/tests/ghci/scripts/T8776.stdout
testsuite/tests/patsyn/should_compile/T9889.hs [new file with mode: 0644]
testsuite/tests/patsyn/should_compile/all.T
testsuite/tests/patsyn/should_fail/local.stderr
testsuite/tests/patsyn/should_run/ghci.stdout