[commit: ghc] master: Treat pattern-synonym binders more consistently (11d8f84)

git at git.haskell.org git at git.haskell.org
Tue Jun 2 09:34:11 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/11d8f84fd3237c3821c8f826716fc4c9adfccb8c/ghc

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

commit 11d8f84fd3237c3821c8f826716fc4c9adfccb8c
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Jun 1 23:42:10 2015 +0100

    Treat pattern-synonym binders more consistently
    
    Pattern-synonyms are in value declarations, but were being
    bound by getLocalNonValBinders.  This seemed odd, and indeed
    staightening it out allowed me to remove a field from
    TopSigCtxt.
    
    The main changes are in RnSource.rnSrcDecls.
    
    Nice.


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

11d8f84fd3237c3821c8f826716fc4c9adfccb8c
 compiler/hsSyn/HsUtils.hs     |  5 +++--
 compiler/rename/RnBinds.hs    |  4 ++--
 compiler/rename/RnEnv.hs      | 38 +++++++++++++++-----------------------
 compiler/rename/RnNames.hs    | 10 +++-------
 compiler/rename/RnSource.hs   | 40 +++++++++++++++++++++-------------------
 compiler/typecheck/TcDeriv.hs |  2 +-
 6 files changed, 45 insertions(+), 54 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 11d8f84fd3237c3821c8f826716fc4c9adfccb8c


More information about the ghc-commits mailing list