diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-21 14:33:45 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-23 13:20:41 +0000 |
commit | 16b3b84e280e16cd8126be88a10035a610e256fd (patch) | |
tree | 609ef0be2fabe00d772389066a267d060f058a0d /compiler/Language | |
parent | 59b7f764489d3eb765e0b40e916b1438ff76e1fa (diff) | |
download | haskell-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