[commit: ghc] ghc-8.0: Add TemplateHaskell support for Overlapping pragmas (c3dafd9)

git at git.haskell.org git at git.haskell.org
Sun Apr 17 14:45:09 UTC 2016


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

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

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

commit c3dafd9168827d0c32d7d9483aa223157f925026
Author: Iavor S. Diatchki <iavor.diatchki at gmail.com>
Date:   Sun Apr 17 12:56:31 2016 +0200

    Add TemplateHaskell support for Overlapping pragmas
    
    Reviewers: hvr, goldfire, austin, RyanGlScott, bgamari
    
    Reviewed By: RyanGlScott, bgamari
    
    Subscribers: RyanGlScott, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2118
    
    (cherry picked from commit 04b70cda4ed006c7e3df40e169550a00aba79524)


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

c3dafd9168827d0c32d7d9483aa223157f925026
 compiler/deSugar/DsMeta.hs                         | 29 +++++++++++--
 compiler/hsSyn/Convert.hs                          | 14 +++++-
 compiler/prelude/THNames.hs                        | 50 ++++++++++++++++++----
 compiler/typecheck/TcSplice.hs                     |  8 +++-
 libraries/ghci/GHCi/TH/Binary.hs                   |  1 +
 libraries/template-haskell/Language/Haskell/TH.hs  |  4 +-
 .../template-haskell/Language/Haskell/TH/Lib.hs    |  9 +++-
 .../template-haskell/Language/Haskell/TH/Ppr.hs    | 12 +++++-
 .../template-haskell/Language/Haskell/TH/Syntax.hs | 14 +++++-
 libraries/template-haskell/changelog.md            |  2 +
 testsuite/tests/ghci/scripts/T4127.stdout          |  2 +-
 .../tests/safeHaskell/safeLanguage/SafeLang11_B.hs |  2 +-
 .../tests/safeHaskell/safeLanguage/SafeLang12_B.hs |  2 +-
 testsuite/tests/th/T5452.hs                        |  4 +-
 testsuite/tests/th/T5700a.hs                       |  2 +-
 testsuite/tests/th/T5886a.hs                       |  2 +-
 testsuite/tests/th/T7532a.hs                       |  2 +-
 testsuite/tests/th/T8625.stdout                    |  2 +-
 testsuite/tests/th/TH_overlaps.hs                  | 29 +++++++++++++
 testsuite/tests/th/all.T                           |  2 +
 20 files changed, 162 insertions(+), 30 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 c3dafd9168827d0c32d7d9483aa223157f925026


More information about the ghc-commits mailing list