summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/ModGuts.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-17 15:04:07 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2022-02-25 10:33:57 +0000
commit0e7c13bf86b40054b1cecf1187c08c23fad5d0fb (patch)
treea4dfb5eadd629bcce5a73aa95ce2b40c11226468 /compiler/GHC/Unit/Module/ModGuts.hs
parent16b3b84e280e16cd8126be88a10035a610e256fd (diff)
downloadhaskell-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 'compiler/GHC/Unit/Module/ModGuts.hs')
0 files changed, 0 insertions, 0 deletions