summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-08-22 01:29:28 +0100
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-08-22 14:26:06 +0100
commit22520cd7071e624cb3cbde6fdd65e872855dd6ff (patch)
tree19f67f87f173c84020188f9cc98e77070be62a2c /testsuite/tests/safeHaskell/flags
parentbf1b117b6ab87a915bf24bcc85e216e5d51cb012 (diff)
downloadhaskell-22520cd7071e624cb3cbde6fdd65e872855dd6ff.tar.gz
Do not zero out version number when processing wired-in packages.
Summary: Previously, GHC would look for instances of wired-in packages in the in-memory package database and null out the version number. This was necessary when the sourcePackageId was used to determine the linker symbols; however, we now use a package key, so only that needs to be updated. Long-term, we can remove this hack by ensuring that Cabal actually records the proper package key in the database. This will also fix an unrelated hack elsewhere. Keeping version numbers means that wired in packages get rendered differently when output by GHC. This is the source of all the test-case output changes. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: hvr, austin Subscribers: simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D170
Diffstat (limited to 'testsuite/tests/safeHaskell/flags')
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags17.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
index 9aab02d5d8..e6ffa06f69 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
@@ -1,4 +1,4 @@
SafeFlags17.hs:4:8:
Prelude: Can't be safely imported!
- The package (base) the module resides in isn't trusted.
+ The package (base-4.7.1.0) the module resides in isn't trusted.