[commit: ghc] ghc-8.0: Change Template Haskell representation of GADTs. (e1c6a19)

git at git.haskell.org git at git.haskell.org
Fri Jan 8 11:24:48 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/e1c6a19af097e241065e74366654cf3007e836e0/ghc

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

commit e1c6a19af097e241065e74366654cf3007e836e0
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date:   Tue Jan 5 19:18:44 2016 +0100

    Change Template Haskell representation of GADTs.
    
    Previous representation of GADTs in TH was not expressive enough
    to express possible GADT return types. See #11341
    
    Test Plan: ./validate
    
    Reviewers: goldfire, austin, bgamari
    
    Subscribers: thomie, RyanGlScott
    
    Differential Revision: https://phabricator.haskell.org/D1738
    
    GHC Trac Issues: #11341
    
    (cherry picked from commit cac0795af33d622e4c6ebae6ae1f206969287088)


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

e1c6a19af097e241065e74366654cf3007e836e0
 compiler/deSugar/DsMeta.hs                         | 24 ++-----
 compiler/hsSyn/Convert.hs                          | 28 ++++----
 compiler/typecheck/TcSplice.hs                     | 50 ++++++-------
 .../template-haskell/Language/Haskell/TH/Lib.hs    | 12 ++--
 .../template-haskell/Language/Haskell/TH/Ppr.hs    | 43 +++++------
 .../template-haskell/Language/Haskell/TH/Syntax.hs | 27 +++++--
 testsuite/tests/th/T10828.hs                       |  8 +--
 testsuite/tests/th/T10828.stderr                   | 83 ----------------------
 testsuite/tests/th/T10828b.hs                      |  4 +-
 testsuite/tests/th/T11341.hs                       | 30 ++++++++
 testsuite/tests/th/T11341.stderr                   |  6 ++
 testsuite/tests/th/T4188.hs                        |  2 -
 testsuite/tests/th/TH_RichKinds2.stderr            |  2 +-
 testsuite/tests/th/all.T                           |  7 +-
 14 files changed, 139 insertions(+), 187 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 e1c6a19af097e241065e74366654cf3007e836e0


More information about the ghc-commits mailing list