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

Importing from stdlib modules using the deprecated name gives an error #24832

Closed
c42f opened this issue Nov 29, 2017 · 4 comments · Fixed by #24843
Closed

Importing from stdlib modules using the deprecated name gives an error #24832

c42f opened this issue Nov 29, 2017 · 4 comments · Fixed by #24843

Comments

@c42f
Copy link
Member

c42f commented Nov 29, 2017

I'd expect to be able to import with a depwarn, but get an error instead:

julia> import Base.Test: record
WARNING: Base.Test is deprecated, run `using Test` instead.
  likely near no file:0
ERROR: invalid import path: "Test" does not name a module
@ararslan
Copy link
Member

Related to (possibly duplicate of) #24488

@vchuravy
Copy link
Member

definitly a dup and I might have a fix for this.

@KristofferC
Copy link
Member

Fixing this would be incredibly helpful in reducing breakage.

@vchuravy
Copy link
Member

This is now properly fixed even for exported functions and submodules after #25692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants