-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
TAB completion on REPL makes identifier confliction #23677
Comments
I'm guessing that this is a problem with tab completion and how it searches through modules. |
Yeah, FFTW symbols should not be searched on REPL tab completion via Is it possible to remove |
Maybe if we call |
A non-interactive way to reproduce the warning: julia> Base.REPLCompletions.completions("using Base", 10)
(["Base"], 7:10, true)
julia> using FFTW
WARNING: error while reinitializing value FFTW:
ErrorException("cannot assign variable DFT.FFTW from module Main")
WARNING: requiring "FFTW" in module "Main" did not define a corresponding module. |
It's tempting, now that packages have had a chance to adopt FFTW.jl, to remove the structure I put in place in base/deprecated.jl that preserves the |
If you remove it, then code will be suddenly broken when people upgrade to 0.7, which seems to be contrary to our usual deprecation practice. In any case, it seems like it would be good to fix this. I don't think |
Maybe fixed by #29962? |
Let's assume it is and reopen / new issue if it comes up again. |
This is from FFTW.jl issue #36
TAB completion on REPL, especially using
using
statement for module, seems loading identifier once again.As I said on this, using TAB completion even
using Base
makesFFTW
identifier confliction error.I think this line of
deprecated.jl
makes Julia load the identifier again. Do we need to change deprecated macro usage or change TAB completion?The text was updated successfully, but these errors were encountered: