diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-17 15:04:07 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-25 10:33:57 +0000 |
commit | 0e7c13bf86b40054b1cecf1187c08c23fad5d0fb (patch) | |
tree | a4dfb5eadd629bcce5a73aa95ce2b40c11226468 /testsuite/tests/backpack/should_compile/bkp60.stderr | |
parent | 16b3b84e280e16cd8126be88a10035a610e256fd (diff) | |
download | haskell-wip/add-boot-edge.tar.gz |
driver: Properly add an edge between a .hs and its hs-boot filewip/add-boot-edge
As noted in #21071 we were missing adding this edge so there were
situations where the .hs file would get compiled before the .hs-boot
file which leads to issues with -j.
I fixed this properly by adding the edge in downsweep so the definition
of nodeDependencies can be simplified to avoid adding this dummy edge
in.
There are plenty of tests which seem to have these redundant boot files
anyway so no new test. #21094 tracks the more general issue of
identifying redundant hs-boot and SOURCE imports.
Diffstat (limited to 'testsuite/tests/backpack/should_compile/bkp60.stderr')
-rw-r--r-- | testsuite/tests/backpack/should_compile/bkp60.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/backpack/should_compile/bkp60.stderr b/testsuite/tests/backpack/should_compile/bkp60.stderr index 6a5732b961..4af21f67ed 100644 --- a/testsuite/tests/backpack/should_compile/bkp60.stderr +++ b/testsuite/tests/backpack/should_compile/bkp60.stderr @@ -5,8 +5,8 @@ Instantiating consumer-impl [1 of 1] Including common [1 of 3] Compiling Impl[boot] ( consumer-impl/Impl.hs-boot, bkp60.out/consumer-impl/Impl.o-boot ) - [2 of 3] Compiling Downstream ( consumer-impl/Downstream.hs, bkp60.out/consumer-impl/Downstream.o ) - [3 of 3] Compiling Impl ( consumer-impl/Impl.hs, bkp60.out/consumer-impl/Impl.o ) + [2 of 3] Compiling Impl ( consumer-impl/Impl.hs, bkp60.out/consumer-impl/Impl.o ) + [3 of 3] Compiling Downstream ( consumer-impl/Downstream.hs, bkp60.out/consumer-impl/Downstream.o ) [3 of 3] Processing tie Instantiating tie [1 of 1] Including consumer-impl |