[commit: ghc] wip/T9889: Pattern synonym names need to be in scope before renaming bindings (#9889) (e5f429c)

git at git.haskell.org git at git.haskell.org
Wed Dec 17 14:11:39 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T9889
Link       : http://ghc.haskell.org/trac/ghc/changeset/e5f429cbc02df745df1517d53c8ca170de41757b/ghc

>---------------------------------------------------------------

commit e5f429cbc02df745df1517d53c8ca170de41757b
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)


>---------------------------------------------------------------

e5f429cbc02df745df1517d53c8ca170de41757b
 compiler/hsSyn/HsUtils.hs                          | 30 +++++++++++++---------
 compiler/rename/RnBinds.hs                         |  6 ++---
 compiler/rename/RnNames.hs                         | 11 +++++---
 compiler/rename/RnSource.hs                        |  2 +-
 .../patsyn/should_compile/{num.hs => T9889.hs}     |  6 ++---
 testsuite/tests/patsyn/should_compile/all.T        |  1 +
 testsuite/tests/patsyn/should_fail/local.stderr    |  2 ++
 7 files changed, 36 insertions(+), 22 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 e5f429cbc02df745df1517d53c8ca170de41757b


More information about the ghc-commits mailing list