diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-09-27 16:24:57 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-09-27 16:29:53 +0100 |
commit | a05bb1d6a1d963d14cb0bafade1e7c1072ac94a5 (patch) | |
tree | a716abfdb348a879914f7ef9401a6a9ae3cb080f /hie.yaml | |
parent | 33eb4a4e396e76cf8122a97734d0e8cdd850c747 (diff) | |
download | haskell-wip/t20417.tar.gz |
Recompilation: Handle -plugin-package correctlywip/t20417
If a plugins was specified using the -plugin-package-(id) flag then the
module it applied to was always recompiled.
The recompilation checker was previously using `findImportedModule`,
which looked for packages in the HPT and then in the package database
but only for modules specified using `-package`.
The correct lookup function for plugins is `findPluginModule`, therefore
we check normal imports with `findImportedModule` and plugins with
`findPluginModule`.
Fixes #20417
Diffstat (limited to 'hie.yaml')
0 files changed, 0 insertions, 0 deletions