Compute export hash based on ALL transitive orphan modules.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Wed, 19 Oct 2016 02:17:10 +0000 (22:17 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 19 Oct 2016 02:17:10 +0000 (22:17 -0400)
commit3866481f228b28687c4021d9deb16e2138fdc008
treea0fb1dcfba56022d434bd2f7a7fd2e161c7b118f
parenta3bc93e58f917c0e03aed1a08fe56bddb16ca773
Compute export hash based on ALL transitive orphan modules.

Previously we pruned out orphan modules from external packages but this
was wrong.  Fixes #12733 (which has more discussion.)

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: simonpj, bgamari, austin

Reviewed By: simonpj

Subscribers: simonpj, thomie

Differential Revision: https://phabricator.haskell.org/D2610

GHC Trac Issues: #12733
15 files changed:
compiler/iface/MkIface.hs
testsuite/driver/extra_files.py
testsuite/tests/cabal/T12733/.gitignore [new file with mode: 0644]
testsuite/tests/cabal/T12733/Makefile [new file with mode: 0644]
testsuite/tests/cabal/T12733/Setup.hs [new file with mode: 0644]
testsuite/tests/cabal/T12733/T12733.stderr [new file with mode: 0644]
testsuite/tests/cabal/T12733/all.T [new file with mode: 0644]
testsuite/tests/cabal/T12733/p/P.hs.in1 [new file with mode: 0644]
testsuite/tests/cabal/T12733/p/P.hs.in2 [new file with mode: 0644]
testsuite/tests/cabal/T12733/p/Setup.hs [new file with mode: 0644]
testsuite/tests/cabal/T12733/p/p.cabal [new file with mode: 0644]
testsuite/tests/cabal/T12733/q/Q.hs [new file with mode: 0644]
testsuite/tests/cabal/T12733/q/Q2.hs [new file with mode: 0644]
testsuite/tests/cabal/T12733/q/Setup.hs [new file with mode: 0644]
testsuite/tests/cabal/T12733/q/q.cabal [new file with mode: 0644]