diff options
| author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-12-27 10:12:36 +0000 |
|---|---|---|
| committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-24 05:37:52 -0500 |
| commit | 4fe9eaff11ccf1fe185de2918aef4f96fd200c72 (patch) | |
| tree | 16d5b2d4047afd65c4a0ba6251ce55f187fd9e4e /compiler/Language/Haskell/Syntax | |
| parent | 06cc0a9529f2fe0dfa40d9966a52a982653bfcb9 (diff) | |
| download | haskell-4fe9eaff11ccf1fe185de2918aef4f96fd200c72.tar.gz | |
Key ModSummary cache by UnitId as well as FilePath
Multiple units can refer to the same files without any problem. Just
another assumption which needs to be updated when we may have multiple
home units.
However, there is the invariant that within each unit each file only
maps to one module, so as long as we also key the cache by UnitId then
we are all good.
This led to some confusing behaviour in GHCi when reloading,
multipleHomeUnits_shared distils the essence of what can go wrong.
Fixes #22679
Diffstat (limited to 'compiler/Language/Haskell/Syntax')
0 files changed, 0 insertions, 0 deletions
