Julia version: 0.7 alpha
It seems that using
a package in some file belonging to a registered package gives a LoadError
if it is not explicitly listed as a dependency. Is there a way to work around that? I understand why it is useful when importing a package known at compile time, but in my case I want to import it in runtime. Specifically, I have some code that worked in v0.6, looking roughly like
module MyRegisteredModule
function load()
push!(LOAD_PATH, "some_dir")
eval(quote
using MyDynamicModule
end)
end
end
where some_dir
contains a file MyDynamicModule.jl
with the module definition.
Is there a way to make dynamic loading work in v0.7?