[commit: ghc] master: Refactor in TcMatches (bdd9042)

git at git.haskell.org git at git.haskell.org
Thu Mar 31 07:01:54 UTC 2016


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

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

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

commit bdd90426a7f88d57bedf15411fa00f62aeb22172
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Mar 30 17:14:11 2016 +0100

    Refactor in TcMatches
    
    * Move the several calls of tauifyMultipleMatches into tcMatches,
      so that it can be called only once, and the invariants are
      clearer
    
    * I discovered in doing this that HsLamCase had a redundant and
      tiresome argument, so I removed it. That in turn allowed some
      modest but nice code simplification


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

bdd90426a7f88d57bedf15411fa00f62aeb22172
 compiler/deSugar/Coverage.hs    |  2 +-
 compiler/deSugar/DsExpr.hs      |  7 +++----
 compiler/deSugar/DsMeta.hs      |  2 +-
 compiler/hsSyn/Convert.hs       |  3 +--
 compiler/hsSyn/HsExpr.hs        | 16 +++++++++-------
 compiler/parser/Parser.y        |  2 +-
 compiler/rename/RnExpr.hs       |  5 ++---
 compiler/typecheck/TcExpr.hs    | 17 +++++++++--------
 compiler/typecheck/TcHsSyn.hs   |  7 +++----
 compiler/typecheck/TcMatches.hs | 24 ++++++++----------------
 compiler/typecheck/TcRnTypes.hs |  2 +-
 11 files changed, 39 insertions(+), 48 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 bdd90426a7f88d57bedf15411fa00f62aeb22172


More information about the ghc-commits mailing list