I don't think it's possible to redo the importing of names that `using` 
performs:

julia> module Foo
       export a
       a = 1
       end

julia> using Foo

julia> a
1

julia> module Foo
       export a
       a = 2
       end
Warning: replacing module Foo

julia> a
1

julia> using Foo
Warning: using Foo.a in module Main conflicts with an existing identifier.

julia> a
1

julia> Foo.a
2

On Jan 29, 2014, at 1:47 PM, Robert DJ <[email protected]> wrote:

> I am starting to work on a package, but I've run into a very mundane problem: 
> I can't figure out how to reload functions after editing.
> 
> The first time I load the package with
> using <package>
> I discover a bug, fix it and run 
> reload("<package>")
> But I still get the same error. 
> 
> If I exit Julia, start it again and load the package the error is (of course) 
> gone.
> 
> What am I missing?
> 
> Thanks,
> 
> Robert

Reply via email to