summaryrefslogtreecommitdiff
path: root/compiler/Language
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-21 14:33:45 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2022-02-23 13:20:41 +0000
commit16b3b84e280e16cd8126be88a10035a610e256fd (patch)
tree609ef0be2fabe00d772389066a267d060f058a0d /compiler/Language
parent59b7f764489d3eb765e0b40e916b1438ff76e1fa (diff)
downloadhaskell-16b3b84e280e16cd8126be88a10035a610e256fd.tar.gz
Fix longstanding issue with moduleGraphNodes - no hs-boot files case
In the case when we tell moduleGraphNodes to drop hs-boot files the idea is to collapse hs-boot files into their hs file nodes. In the old code * nodeDependencies changed edges from IsBoot to NonBoot * moduleGraphNodes just dropped boot file nodes The net result is that any dependencies of the hs-boot files themselves were dropped. The correct thing to do is * nodeDependencies changes edges from IsBoot to NonBoot * moduleGraphNodes merges dependencies of IsBoot and NonBoot nodes. The result is a properly quotiented dependency graph which contains no hs-boot files nor hs-boot file edges. Why this didn't cause endless issues when compiling with boot files, we will never know.
Diffstat (limited to 'compiler/Language')
0 files changed, 0 insertions, 0 deletions