[commit: ghc] master: Pattern synonym names need to be in scope before renaming bindings (#9889) (5830fc4)
git at git.haskell.org
git at git.haskell.org
Fri Jan 9 15:47:07 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5830fc449af6b2c0ef5be409fd3457114ae938ca/ghc
>---------------------------------------------------------------
commit 5830fc449af6b2c0ef5be409fd3457114ae938ca
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Wed Dec 17 22:09:06 2014 +0800
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
>---------------------------------------------------------------
5830fc449af6b2c0ef5be409fd3457114ae938ca
compiler/hsSyn/HsBinds.hs | 10 ++
compiler/hsSyn/HsUtils.hs | 130 +++++++++++++--------
compiler/rename/RnBinds.hs | 28 +++--
compiler/rename/RnEnv.hs | 2 +-
compiler/rename/RnNames.hs | 26 +++--
compiler/rename/RnPat.hs | 18 ++-
compiler/rename/RnSource.hs | 26 +++--
compiler/typecheck/TcBinds.hs | 55 ++++-----
testsuite/tests/ghci/scripts/T8776.stdout | 2 +-
.../patsyn/should_compile/{num.hs => T9889.hs} | 6 +-
testsuite/tests/patsyn/should_compile/all.T | 1 +
testsuite/tests/patsyn/should_fail/local.stderr | 4 +-
testsuite/tests/patsyn/should_run/ghci.stdout | 2 +-
13 files changed, 185 insertions(+), 125 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5830fc449af6b2c0ef5be409fd3457114ae938ca
More information about the ghc-commits
mailing list