[commit: ghc] master: Refactor type families in Template Haskell (9934819)

git at git.haskell.org git at git.haskell.org
Sat Dec 12 19:01:30 UTC 2015


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

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

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

commit 9934819f3bb086bba91874cde4f0b17b30b10451
Author: John Leo <leo at halfaya.org>
Date:   Sat Dec 12 19:28:18 2015 +0100

    Refactor type families in Template Haskell
    
    Fixes #10902.
    
    Test Plan: validate
    
    Reviewers: goldfire, austin, hvr, jstolarek, bgamari
    
    Reviewed By: jstolarek, bgamari
    
    Subscribers: hvr, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1570
    
    GHC Trac Issues: #10902


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

9934819f3bb086bba91874cde4f0b17b30b10451
 compiler/hsSyn/Convert.hs                          | 29 ++++++++++++++--------
 compiler/typecheck/TcSplice.hs                     | 14 +++++------
 docs/users_guide/7.12.1-notes.rst                  |  5 ++++
 libraries/template-haskell/Language/Haskell/TH.hs  |  2 +-
 .../template-haskell/Language/Haskell/TH/Lib.hs    | 14 ++++++-----
 .../template-haskell/Language/Haskell/TH/Ppr.hs    | 21 ++++++++--------
 .../template-haskell/Language/Haskell/TH/Syntax.hs | 18 ++++++++------
 libraries/template-haskell/changelog.md            |  7 ++++++
 testsuite/tests/indexed-types/should_fail/T9160.hs |  3 ++-
 .../tests/indexed-types/should_fail/T9160.stderr   |  2 +-
 testsuite/tests/th/ClosedFam2TH.hs                 | 11 ++++----
 testsuite/tests/th/T10306.hs                       |  4 +--
 testsuite/tests/th/T6018th.hs                      | 18 +++++++-------
 testsuite/tests/th/T8028.hs                        |  4 +--
 testsuite/tests/th/T8028a.hs                       |  2 +-
 testsuite/tests/th/T8884.hs                        | 10 +++++---
 testsuite/tests/th/TH_RichKinds2.hs                | 15 +++++------
 testsuite/tests/th/TH_RichKinds2.stderr            |  2 +-
 18 files changed, 106 insertions(+), 75 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 9934819f3bb086bba91874cde4f0b17b30b10451


More information about the ghc-commits mailing list