[commit: ghc] ghc-8.0: Move Extension type to ghc-boot-th (c014794)

git at git.haskell.org git at git.haskell.org
Mon May 16 17:54:29 UTC 2016


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

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

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

commit c0147941245eafe33f302d9fe62e81505e4c4eea
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Mon May 16 15:21:34 2016 +0200

    Move Extension type to ghc-boot-th
    
    This creates a new package, `ghc-boot-th`, to contain the `Extension`
    type, which now lives in `GHC.LanguageExtension.Type`. This ensures that
    the transitive dependency set of the `template-haskell` package remains
    minimal.
    
    The `GHC.LanguageExtensions.Type` module is also re-exported by
    `ghc-boot`, which provides an orphan `binary` instance as well.
    
    Test Plan: Validate
    
    Reviewers: goldfire, thomie, hvr, austin
    
    Reviewed By: thomie
    
    Subscribers: RyanGlScott, thomie, erikd, ezyang
    
    Differential Revision: https://phabricator.haskell.org/D2224
    
    (cherry picked from commit eed820b672e6c3d23106cd151b1e31ce29326e32)


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

c0147941245eafe33f302d9fe62e81505e4c4eea
 .gitignore                                         |   3 +
 compiler/main/DynFlags.hs                          |   4 +-
 configure.ac                                       |   2 +-
 ghc.mk                                             |   3 +-
 .../GHC/LanguageExtensions/Type.hs}                |  12 +-
 libraries/{ghc-boot => ghc-boot-th}/GHC/Lexeme.hs  |   0
 LICENSE => libraries/ghc-boot-th/LICENSE           |   0
 libraries/{ghc-boot => ghc-boot-th}/changelog.md   |   2 +-
 libraries/ghc-boot-th/ghc-boot-th.cabal.in         |  37 ++++++
 libraries/ghc-boot/GHC/LanguageExtensions.hs       | 135 ++-------------------
 libraries/ghc-boot/changelog.md                    |   2 +-
 libraries/ghc-boot/ghc-boot.cabal.in               |  13 +-
 .../Language/Haskell/TH/LanguageExtensions.hs      |   2 +-
 libraries/template-haskell/template-haskell.cabal  |   6 +-
 testsuite/tests/th/TH_Roles2.stderr                |   7 +-
 testsuite/tests/th/all.T                           |   3 +-
 16 files changed, 82 insertions(+), 149 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 c0147941245eafe33f302d9fe62e81505e4c4eea


More information about the ghc-commits mailing list