[commit: ghc] ghc-8.4: Simplify HsPatSynDetails (7c69f11)

git at git.haskell.org git at git.haskell.org
Sun Jan 14 22:08:04 UTC 2018


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

On branch  : ghc-8.4
Link       : http://ghc.haskell.org/trac/ghc/changeset/7c69f1117695c7db1c10b1103995cc0111a4d8fb/ghc

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

commit 7c69f1117695c7db1c10b1103995cc0111a4d8fb
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Dec 20 15:36:49 2017 +0000

    Simplify HsPatSynDetails
    
    This is a pure refactoring.  Use HsConDetails to implement
    HsPatSynDetails, instead of defining a whole new data type.
    Less code, fewer types, all good.
    
    (cherry picked from commit 584cbd4a19887497776ce1f61c15df652b8b2ea4)


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

7c69f1117695c7db1c10b1103995cc0111a4d8fb
 compiler/deSugar/DsMeta.hs     | 18 +++++++-------
 compiler/hsSyn/Convert.hs      |  6 ++---
 compiler/hsSyn/HsBinds.hs      | 53 ++++--------------------------------------
 compiler/hsSyn/HsUtils.hs      |  2 +-
 compiler/parser/Parser.y       |  6 ++---
 compiler/rename/RnBinds.hs     | 14 +++++------
 compiler/rename/RnSource.hs    |  2 +-
 compiler/typecheck/TcHsSyn.hs  | 18 ++++++++++----
 compiler/typecheck/TcPatSyn.hs | 17 +++++++-------
 9 files changed, 50 insertions(+), 86 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 7c69f1117695c7db1c10b1103995cc0111a4d8fb


More information about the ghc-commits mailing list