Skip to content

Warning on 1.8 when using a renamed and exported binding #47517

@ararslan

Description

@ararslan
julia> module A
       f(x) = 1
       export f
       end
Main.A

julia> module B
       using Main.A: f as g
       export g
       end
Main.B

julia> using .B

julia> g
WARNING: could not import A.g into Main
f (generic function with 1 method)

julia> g(1)
WARNING: could not import A.g into Main
1

This occurs on 1.8.2 but not master so perhaps just a backport is needed. I haven't yet checked whether this is resolved on release-1.8 (soon to be 1.8.3) nor the backports for 1.8.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIndicates similar issues or pull requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions