Skip to content

creloading a submodule doesn't work #7

@cstjean

Description

@cstjean

In this code, changes to SubMod.x are ignored.

module TestMod
module SubMod
export x
x = 8
end
using .SubMod
end

It's the using that's problematic. SubMod.x works fine. The proper solution on our side would be to eval the submodule code inside the submodule. That's not a trivial amount of work.

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