Currently the if a package A is imported in another package B without been exported. When loading the object created with B but containing object from A, it cannot resolve the A is inside B and result in a UndefVarError: A not defined. If we store the PkgId of A instead, we should be able to use Base.loaded_modules to find the correct module A.
Currently the if a package
A
is imported in another packageB
without been exported. When loading the object created withB
but containing object fromA
, it cannot resolve theA
is insideB
and result in aUndefVarError: A not defined
. If we store thePkgId
ofA
instead, we should be able to useBase.loaded_modules
to find the correct moduleA
.