diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-05-16 15:21:34 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-05-16 16:22:05 +0200 |
commit | eed820b672e6c3d23106cd151b1e31ce29326e32 (patch) | |
tree | 48fd270edef8f7a50ef28f876b0d5e6a47e6313c /testsuite/tests/th | |
parent | d78faa135921dfe7a6b92f908171af1a2cdce512 (diff) | |
download | haskell-eed820b672e6c3d23106cd151b1e31ce29326e32.tar.gz |
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
Diffstat (limited to 'testsuite/tests/th')
-rw-r--r-- | testsuite/tests/th/TH_Roles2.stderr | 7 | ||||
-rw-r--r-- | testsuite/tests/th/all.T | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/tests/th/TH_Roles2.stderr b/testsuite/tests/th/TH_Roles2.stderr index afcac7c6b7..33fec8e9d5 100644 --- a/testsuite/tests/th/TH_Roles2.stderr +++ b/testsuite/tests/th/TH_Roles2.stderr @@ -4,10 +4,9 @@ TYPE CONSTRUCTORS data T (a :: k) COERCION AXIOMS Dependent modules: [] -Dependent packages: [array-0.5.1.0, base-4.9.0.0, binary-0.8.2.0, - bytestring-0.10.7.0, containers-0.5.7.1, deepseq-1.4.2.0, - ghc-boot-8.1, ghc-prim-0.5.0.0, integer-gmp-1.0.0.1, - pretty-1.1.3.2, template-haskell-2.11.0.0] +Dependent packages: [array-0.5.1.1, base-4.9.0.0, deepseq-1.4.2.0, + ghc-boot-th-8.1, ghc-prim-0.5.0.0, integer-gmp-1.0.0.1, + pretty-1.1.3.3, template-haskell-2.11.0.0] ==================== Typechecker ==================== TH_Roles2.$tcT diff --git a/testsuite/tests/th/all.T b/testsuite/tests/th/all.T index be6828fe4d..1cebbe896a 100644 --- a/testsuite/tests/th/all.T +++ b/testsuite/tests/th/all.T @@ -287,7 +287,8 @@ test('T8028', ['T8028', '-v0 ' + config.ghc_th_way_flags]) test('TH_Roles1', normal, compile_fail, ['-v0']) -test('TH_Roles2', normalise_version('array', 'base', 'deepseq', 'ghc-prim', 'ghc-boot', +test('TH_Roles2', normalise_version('array', 'base', 'deepseq', 'ghc-prim', + 'ghc-boot', 'ghc-boot-th', 'integer-gmp', 'pretty', 'template-haskell', 'binary', 'bytestring', 'containers' ), compile, ['-v0 -ddump-tc']) |