ExplicitImports.jl
ExplicitImports.jl copied to clipboard
modules exporting names which aren't theirs
Here's a fun one
UUID
belongs to base
julia> parentmodule(Base.UUID)
Base
but is not exported by Base
julia> UUID
ERROR: UndefVarError: `UUID` not defined
However, it is exported by UUIDs
julia> using UUIDs
julia> UUID
UUID
julia> parentmodule(UUID)
Base
When running ExplicitImports on ControlSystemsBase, I got
using UUIDs: UUIDs
which then makes UUID
no longer imported by CSBase and tests are failing. Would there be a way to detect this happening?