Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ararslan opened this issue Nov 9, 2022 · 2 comments
Closed

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

ararslan opened this issue Nov 9, 2022 · 2 comments
Labels
duplicate Indicates similar issues or pull requests

Comments

@ararslan
Copy link
Member

ararslan commented Nov 9, 2022

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.

@ararslan
Copy link
Member Author

This still occurs on release-1.8.

@ararslan ararslan added the duplicate Indicates similar issues or pull requests label Nov 11, 2022
@ararslan
Copy link
Member Author

Ah, this is a duplicate of #44754 which was fixed on master by #44827. The latter just needs a backport.

@ararslan ararslan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Indicates similar issues or pull requests
Projects
None yet
Development

No branches or pull requests

1 participant