JuliaLang/julia

relative using/import should search current directory

Open

#4,600 创建于 2013年10月21日

在 GitHub 查看
 (175 评论) (27 反应) (1 负责人)Julia (48,709 star) (5,773 fork)batch import
designhelp wantedmodules

描述

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.

贡献者指南