Skip to content
Snippets Groups Projects
Commit 94f3ce7e authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

Recompilation: Handle -plugin-package correctly

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
parent adc41a77
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment