ericphanson / ExplicitImports.jl

Developer tooling for Julia namespace management: detecting implicit imports, improper explicit imports, and improper qualified accesses
https://ericphanson.github.io/ExplicitImports.jl/
MIT License
62 stars 2 forks source link

types not correctly detected in function signature #33

Closed ericphanson closed 2 months ago

ericphanson commented 3 months ago

in the file mod.jl:

module M
using Legolas
foreign_keys(::SchemaVersion) = ()
end #m
julia> ExplicitImports.print_explicit_imports(M, "mod.jl")
Module Main.M is not relying on any implicit imports.

However, module Main.M has stale explicit imports for these unused names:
- SchemaVersion

SchemaVersion is not stale!