[commit: ghc] wip/gadtpm: Pattern Match Checking (Fixes #595) (b502ab8)

git at git.haskell.org git at git.haskell.org
Wed Nov 25 16:15:44 UTC 2015


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

On branch  : wip/gadtpm
Link       : http://ghc.haskell.org/trac/ghc/changeset/b502ab89eceafa77826572bda3979b5d1265abcb/ghc

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

commit b502ab89eceafa77826572bda3979b5d1265abcb
Author: George Karachalias <george.karachalias at gmail.com>
Date:   Wed Nov 25 16:39:57 2015 +0100

    Pattern Match Checking (Fixes #595)


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

b502ab89eceafa77826572bda3979b5d1265abcb
 compiler/basicTypes/UniqSupply.hs   |    5 +-
 compiler/deSugar/Check.hs           | 1855 ++++++++++++++++++++++-------------
 compiler/deSugar/DsBinds.hs         |    8 +-
 compiler/deSugar/DsExpr.hs          |   18 +-
 compiler/deSugar/DsGRHSs.hs         |    2 +-
 compiler/deSugar/DsMonad.hs         |   60 +-
 compiler/deSugar/Match.hs           |  174 +---
 compiler/deSugar/Match.hs-boot      |    1 +
 compiler/deSugar/PmExpr.hs          |  387 ++++++++
 compiler/deSugar/TmOracle.hs        |  252 +++++
 compiler/ghc.cabal.in               |    2 +
 compiler/ghc.mk                     |    1 +
 compiler/hsSyn/HsLit.hs             |   22 +
 compiler/hsSyn/HsPat.hs             |   41 +-
 compiler/prelude/TysWiredIn.hs-boot |    2 +-
 compiler/typecheck/TcMType.hs       |   15 +
 compiler/typecheck/TcRnTypes.hs     |    5 +-
 compiler/typecheck/TcSMonad.hs      |    1 -
 compiler/typecheck/TcSimplify.hs    |   14 +
 compiler/typecheck/TcType.hs        |   42 +
 compiler/types/Type.hs              |   22 +-
 compiler/utils/Bag.hs               |   26 +-
 compiler/utils/MonadUtils.hs        |    6 +-
 23 files changed, 2121 insertions(+), 840 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 b502ab89eceafa77826572bda3979b5d1265abcb


More information about the ghc-commits mailing list