Skip to content

Dependency issue dependent on ordering #30

@cstjean

Description

@cstjean

I'm trying out the new functionality, and I've found an issue. Given:

# In A.jl:
module A
end

# In B.jl:
module B
export foo
foo(x) = x+2
end

Then

using Autoreload
@ausing B
@ausing A <: B
B.foo === foo

yields false, but if I flip the order of the two @ausing, it returns true. The problem is not @ausing, I get the same results with arequire + using.

The false case gives a WARNING: replacing module B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions