[commit: ghc] ghc-8.2: Correctly handle wired in unit IDs in -instantiated-with (55e1053)
git at git.haskell.org
git at git.haskell.org
Mon Apr 3 02:38:29 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.2
Link : http://ghc.haskell.org/trac/ghc/changeset/55e1053ef693f2bfcb2eba3d8cc150e03dc4e811/ghc
>---------------------------------------------------------------
commit 55e1053ef693f2bfcb2eba3d8cc150e03dc4e811
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date: Sun Mar 26 14:06:12 2017 -0700
Correctly handle wired in unit IDs in -instantiated-with
Summary:
To handle wired in packages, we must rewrite all occurrences
of unit ids like base-4.9.0.0 to base. However, I forgot
to do this on unit ids that occurred in unit identifiers
passed via -instantiated-with. This patch handles that case,
plus a test.
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
Test Plan: validate
Reviewers: bgamari, austin
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3385
(cherry picked from commit 852a43f360af09416d15777c8f10d704b5423a96)
>---------------------------------------------------------------
55e1053ef693f2bfcb2eba3d8cc150e03dc4e811
compiler/main/Packages.hs | 54 ++++++++++++++--------
testsuite/tests/backpack/cabal/bkpcabal07/M.hs | 1 +
.../cabal/{bkpcabal04 => bkpcabal07}/Makefile | 17 ++-----
testsuite/tests/backpack/cabal/bkpcabal07/P.hsig | 1 +
.../cabal/{bkpcabal01 => bkpcabal07}/Setup.hs | 0
testsuite/tests/backpack/cabal/bkpcabal07/all.T | 9 ++++
.../backpack/cabal/bkpcabal07/bkpcabal07.cabal | 19 ++++++++
7 files changed, 69 insertions(+), 32 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 55e1053ef693f2bfcb2eba3d8cc150e03dc4e811
More information about the ghc-commits
mailing list