diff options
author | Chaitanya Koparkar <ckoparkar@gmail.com> | 2018-05-13 18:35:18 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-13 22:22:42 -0400 |
commit | 30c887d3b176a36b7affc27b118e0450d115df0c (patch) | |
tree | c098dc1b9c14dc750bfb7bfd4e2327c59df8d10d /testsuite/tests/package | |
parent | d4abd031f6e8c2fa01f8949f60d8a02cca513804 (diff) | |
download | haskell-30c887d3b176a36b7affc27b118e0450d115df0c.tar.gz |
GHCi: Include a note in the hint to expose a hidden package
Test Plan: validate
Reviewers: bgamari, RyanGlScott, osa1
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #15055
Differential Revision: https://phabricator.haskell.org/D4669
Diffstat (limited to 'testsuite/tests/package')
-rw-r--r-- | testsuite/tests/package/package01e.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/package/package06e.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/package/package07e.stderr | 3 | ||||
-rw-r--r-- | testsuite/tests/package/package08e.stderr | 3 |
4 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/package/package01e.stderr b/testsuite/tests/package/package01e.stderr index a755991432..e4af6b1227 100644 --- a/testsuite/tests/package/package01e.stderr +++ b/testsuite/tests/package/package01e.stderr @@ -3,10 +3,12 @@ package01e.hs:2:1: error: Could not find module ‘Data.Map’ It is a member of the hidden package ‘containers-0.5.11.0’. You can run ‘:set -package containers’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. package01e.hs:3:1: error: Could not find module ‘Data.IntMap’ It is a member of the hidden package ‘containers-0.5.11.0’. You can run ‘:set -package containers’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. diff --git a/testsuite/tests/package/package06e.stderr b/testsuite/tests/package/package06e.stderr index 59aeb37682..1bdbb162b0 100644 --- a/testsuite/tests/package/package06e.stderr +++ b/testsuite/tests/package/package06e.stderr @@ -3,10 +3,12 @@ package06e.hs:2:1: error: Could not find module ‘HsTypes’ It is a member of the hidden package ‘ghc-8.1’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. package06e.hs:3:1: error: Could not find module ‘UniqFM’ It is a member of the hidden package ‘ghc-8.1’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. diff --git a/testsuite/tests/package/package07e.stderr b/testsuite/tests/package/package07e.stderr index d167508659..9bd53da52c 100644 --- a/testsuite/tests/package/package07e.stderr +++ b/testsuite/tests/package/package07e.stderr @@ -8,16 +8,19 @@ package07e.hs:3:1: error: Could not find module ‘HsTypes’ It is a member of the hidden package ‘ghc-8.5’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. package07e.hs:4:1: error: Could not find module ‘HsUtils’ It is a member of the hidden package ‘ghc-8.5’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. package07e.hs:5:1: error: Could not find module ‘UniqFM’ It is a member of the hidden package ‘ghc-8.5’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. diff --git a/testsuite/tests/package/package08e.stderr b/testsuite/tests/package/package08e.stderr index 922c643c89..0e075ddda9 100644 --- a/testsuite/tests/package/package08e.stderr +++ b/testsuite/tests/package/package08e.stderr @@ -8,16 +8,19 @@ package08e.hs:3:1: error: Could not find module ‘HsTypes’ It is a member of the hidden package ‘ghc-8.5’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. package08e.hs:4:1: error: Could not find module ‘HsUtils’ It is a member of the hidden package ‘ghc-8.5’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. package08e.hs:5:1: error: Could not find module ‘UniqFM’ It is a member of the hidden package ‘ghc-8.5’. You can run ‘:set -package ghc’ to expose it. + (Note: this unloads all the modules in the current scope.) Use -v to see a list of the files searched for. |