diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2019-09-11 21:19:39 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-09-20 05:14:34 -0400 |
commit | 5119296440e6846c553c72b8a93afc5ecfa576f0 (patch) | |
tree | ff508560a4996afffb24bf3af5dfa9c56a7e5c77 /testsuite/tests/package | |
parent | 4853d962289db1b32886ec73e824cd37c9c5c002 (diff) | |
download | haskell-5119296440e6846c553c72b8a93afc5ecfa576f0.tar.gz |
Module hierarchy: Hs (#13009)
Add GHC.Hs module hierarchy replacing hsSyn.
Metric Increase:
haddock.compiler
Diffstat (limited to 'testsuite/tests/package')
-rw-r--r-- | testsuite/tests/package/all.T | 2 | ||||
-rw-r--r-- | testsuite/tests/package/package05.hs | 6 | ||||
-rw-r--r-- | testsuite/tests/package/package06.hs | 4 | ||||
-rw-r--r-- | testsuite/tests/package/package06e.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/package/package06e.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/package/package07e.hs | 6 | ||||
-rw-r--r-- | testsuite/tests/package/package07e.stderr | 8 | ||||
-rw-r--r-- | testsuite/tests/package/package08e.hs | 6 | ||||
-rw-r--r-- | testsuite/tests/package/package08e.stderr | 8 |
9 files changed, 22 insertions, 22 deletions
diff --git a/testsuite/tests/package/all.T b/testsuite/tests/package/all.T index 869abb1a7a..8fe654fb7d 100644 --- a/testsuite/tests/package/all.T +++ b/testsuite/tests/package/all.T @@ -1,7 +1,7 @@ hide_all = '-hide-all-packages -XNoImplicitPrelude ' incr_containers = '-package "containers (Data.Map as Map, Data.Set)" ' inc_containers = '-package containers ' -incr_ghc = '-package "ghc (HsTypes as MyHsTypes, HsUtils)" ' +incr_ghc = '-package "ghc (GHC.Hs.Types as GHC.Hs.MyTypes, GHC.Hs.Utils)" ' inc_ghc = '-package ghc ' hide_ghc = '-hide-package ghc ' diff --git a/testsuite/tests/package/package05.hs b/testsuite/tests/package/package05.hs index 3b0069c5d5..e2c1125321 100644 --- a/testsuite/tests/package/package05.hs +++ b/testsuite/tests/package/package05.hs @@ -1,4 +1,4 @@ module Package05 where -import HsTypes -import MyHsTypes -import HsUtils +import GHC.Hs.Types +import GHC.Hs.MyTypes +import GHC.Hs.Utils diff --git a/testsuite/tests/package/package06.hs b/testsuite/tests/package/package06.hs index 096b81b7ba..ce9ce6fb84 100644 --- a/testsuite/tests/package/package06.hs +++ b/testsuite/tests/package/package06.hs @@ -1,3 +1,3 @@ module Package06 where -import MyHsTypes -import HsUtils +import GHC.Hs.MyTypes +import GHC.Hs.Utils diff --git a/testsuite/tests/package/package06e.hs b/testsuite/tests/package/package06e.hs index 6feaebda62..35b6ceaa76 100644 --- a/testsuite/tests/package/package06e.hs +++ b/testsuite/tests/package/package06e.hs @@ -1,3 +1,3 @@ module Package06e where -import HsTypes +import GHC.Hs.Types import UniqFM diff --git a/testsuite/tests/package/package06e.stderr b/testsuite/tests/package/package06e.stderr index 12d721223c..98f048c107 100644 --- a/testsuite/tests/package/package06e.stderr +++ b/testsuite/tests/package/package06e.stderr @@ -1,6 +1,6 @@ package06e.hs:2:1: error: - Could not load module ‘HsTypes’ + Could not load module ‘GHC.Hs.Types’ It is a member of the hidden package ‘ghc-8.7’. You can run ‘:set -package ghc’ to expose it. (Note: this unloads all the modules in the current scope.) diff --git a/testsuite/tests/package/package07e.hs b/testsuite/tests/package/package07e.hs index 85bb723989..df13ed734e 100644 --- a/testsuite/tests/package/package07e.hs +++ b/testsuite/tests/package/package07e.hs @@ -1,5 +1,5 @@ module Package07e where -import MyHsTypes -import HsTypes -import HsUtils +import GHC.Hs.MyTypes +import GHC.Hs.Types +import GHC.Hs.Utils import UniqFM diff --git a/testsuite/tests/package/package07e.stderr b/testsuite/tests/package/package07e.stderr index 2678972a78..5f5f0b9885 100644 --- a/testsuite/tests/package/package07e.stderr +++ b/testsuite/tests/package/package07e.stderr @@ -1,18 +1,18 @@ package07e.hs:2:1: error: - Could not find module ‘MyHsTypes’ - Perhaps you meant HsTypes (needs flag -package-key ghc-8.7) + Could not find module ‘GHC.Hs.MyTypes’ + Perhaps you meant GHC.Hs.Types (needs flag -package-key ghc-8.7) Use -v (or `:set -v` in ghci) to see a list of the files searched for. package07e.hs:3:1: error: - Could not load module ‘HsTypes’ + Could not load module ‘GHC.Hs.Types’ It is a member of the hidden package ‘ghc-8.7’. You can run ‘:set -package ghc’ to expose it. (Note: this unloads all the modules in the current scope.) Use -v (or `:set -v` in ghci) to see a list of the files searched for. package07e.hs:4:1: error: - Could not load module ‘HsUtils’ + Could not load module ‘GHC.Hs.Utils’ It is a member of the hidden package ‘ghc-8.7’. You can run ‘:set -package ghc’ to expose it. (Note: this unloads all the modules in the current scope.) diff --git a/testsuite/tests/package/package08e.hs b/testsuite/tests/package/package08e.hs index 40f814449a..aba05de9ca 100644 --- a/testsuite/tests/package/package08e.hs +++ b/testsuite/tests/package/package08e.hs @@ -1,5 +1,5 @@ module Package08e where -import MyHsTypes -import HsTypes -import HsUtils +import GHC.Hs.MyTypes +import GHC.Hs.Types +import GHC.Hs.Utils import UniqFM diff --git a/testsuite/tests/package/package08e.stderr b/testsuite/tests/package/package08e.stderr index f02e9d6da3..46d665bceb 100644 --- a/testsuite/tests/package/package08e.stderr +++ b/testsuite/tests/package/package08e.stderr @@ -1,18 +1,18 @@ package08e.hs:2:1: error: - Could not find module ‘MyHsTypes’ - Perhaps you meant HsTypes (needs flag -package-key ghc-8.7) + Could not find module ‘GHC.Hs.MyTypes’ + Perhaps you meant GHC.Hs.Types (needs flag -package-key ghc-8.7) Use -v (or `:set -v` in ghci) to see a list of the files searched for. package08e.hs:3:1: error: - Could not load module ‘HsTypes’ + Could not load module ‘GHC.Hs.Types’ It is a member of the hidden package ‘ghc-8.7’. You can run ‘:set -package ghc’ to expose it. (Note: this unloads all the modules in the current scope.) Use -v (or `:set -v` in ghci) to see a list of the files searched for. package08e.hs:4:1: error: - Could not load module ‘HsUtils’ + Could not load module ‘GHC.Hs.Utils’ It is a member of the hidden package ‘ghc-8.7’. You can run ‘:set -package ghc’ to expose it. (Note: this unloads all the modules in the current scope.) |