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

Pressing tab in REPL prints warnings when modules export same named function #14787

Open
KristofferC opened this issue Jan 25, 2016 · 2 comments
Labels
REPL Julia's REPL (Read Eval Print Loop)

Comments

@KristofferC
Copy link
Member

When using two modules that export the same function, running the autocompletion for another module with using <TAB> in the REPL prints warnings about previous modules defining functions with the same name:

julia> using Plots

julia> using Gaston

julia> using <TAB> WARNING: both Gaston and Plots export "histogram"; uses of it in module Main must be qualified
WARNING: both Gaston and Plots export "plot"; uses of it in module Main must be qualified

Should this instead be printed after using Gaston is entered?

@JeffBezanson JeffBezanson added the REPL Julia's REPL (Read Eval Print Loop) label Jan 25, 2016
@mauro3
Copy link
Contributor

mauro3 commented Aug 21, 2016

For me, any tab-completion triggers this, not just for using.

@Liozou
Copy link
Member

Liozou commented Dec 27, 2021

Is this still relevant? I can't reproduce locally on master (c790938).
The only remaining TAB-completion warning is when trying explicitly

julia> plot(# TAB

yielding

julia> plot(WARNING: both Gaston and Plots export "plot"; uses of it in module Main must be qualified
julia> plot(

but that's fair since the call to plot(...) will not work anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

4 participants