JuliaLang/julia
Voir sur GitHubrelative using/import should search current directory
Open
#4 600 ouverte le 21 oct. 2013
designhelp wantedmodules
Métriques du dépôt
- Stars
- (48 709 stars)
- Métriques de merge PR
- (Merge moyen 20j 6h) (157 PRs mergées en 30 j)
Description
When I do
# Main.jl
module Main
using .Foo
end
and there's a file called Foo.jl in the same directory as Main.jl it should be loaded. I suspect that relative using should also not look in the global require places – i.e. Pkg.dir() and then LOAD_PATH. The same applies to import.