[commit: ghc] ghc-7.10: Pattern synonym names need to be in scope before renaming bindings (#9889) (f0754dc)
git at git.haskell.org
git at git.haskell.org
Mon Jan 19 13:58:26 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.10
Link : http://ghc.haskell.org/trac/ghc/changeset/f0754dcb4834ebc93a3908ef9c945ab6c3e19587/ghc
>---------------------------------------------------------------
commit f0754dcb4834ebc93a3908ef9c945ab6c3e19587
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
(cherry picked from commit 5830fc449af6b2c0ef5be409fd3457114ae938ca)
>---------------------------------------------------------------
f0754dcb4834ebc93a3908ef9c945ab6c3e19587
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 f0754dcb4834ebc93a3908ef9c945ab6c3e19587
More information about the ghc-commits
mailing list