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

Tab completion causes ambiguity warning #23736

Closed
wbhart opened this issue Sep 16, 2017 · 2 comments
Closed

Tab completion causes ambiguity warning #23736

wbhart opened this issue Sep 16, 2017 · 2 comments

Comments

@wbhart
Copy link

wbhart commented Sep 16, 2017

Tab completion causes an ambiguity warning for Main when two modules define the same symbol (intentionally).

This is an example of the behaviour (tab was pressed on the final line):

julia> module Bar1
          function foo()
             nothing
          end
          export foo
       end
Bar1

julia> module Bar2
          function foo()
             nothing
          end
          export foo
       end
Bar2

julia> using Bar1

julia> using Bar2

julia> Main.MWARNING: both Bar2 and Bar1 export "foo"; uses of it in module Main must be qualified

I have checked this happens with the latest nightly.

@wbhart
Copy link
Author

wbhart commented Sep 16, 2017

This appears to be related to, or may even be the cause of #23677

@KristofferC
Copy link
Member

Dup of #14787

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

No branches or pull requests

2 participants