From 31b689ec577e2811604f5381c404ec472744fd2d Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Thu, 2 Sep 2021 14:47:15 -0400 Subject: [PATCH] Remove imported names from modules that come from usings --- stdlib/REPL/src/REPLCompletions.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/REPL/src/REPLCompletions.jl b/stdlib/REPL/src/REPLCompletions.jl index 5cbb3ee0c0df4..2a16250f6a427 100644 --- a/stdlib/REPL/src/REPLCompletions.jl +++ b/stdlib/REPL/src/REPLCompletions.jl @@ -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