Skip to content

Commit

Permalink
Remove imported names from modules that come from usings
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly authored and aviatesk committed Feb 29, 2024
1 parent caa2413 commit 31b689e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/REPLCompletions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function complete_symbol(@nospecialize(ex), name::String, @nospecialize(ffunc),
# Also look in modules we got through `using`
mods = ccall(:jl_module_usings, Any, (Any,), context_module)::Vector
for m in mods
append!(suggestions, filtered_mod_names(p, m::Module, name, imported=true, usings=true))
append!(suggestions, filtered_mod_names(p, m::Module, name)
end
append!(suggestions, filtered_mod_names(p, mod, name, all=true, imported=true, usings=true))
else
Expand Down

0 comments on commit 31b689e

Please sign in to comment.