JET.jl
JET.jl copied to clipboard
Support package extensions
I'm moving a lot of code to extensions and wanted to run JET afterwards. But it seems this is quite difficult?
report_package
doesn't report on extensions, and report_file
isnt giving me any errors, which is suspicious.
It would be useful to have a function like:
JET.report_extension(Package, :ExtensionName)
You can use Base.get_extension
for this:
help?> Base.get_extension
get_extension(parent::Module, extension::Symbol)
Return the module for extension of parent or return nothing if the extension is not loaded.
But extension modules dont actually work in report_package
.
How do you mean to use that exactly?
Ah I see yeah, my mistake. We'd need to fix the find
mechanisms for these.