We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b5d9f commit caa893cCopy full SHA for caa893c
stdlib/REPL/src/REPLCompletions.jl
@@ -418,11 +418,9 @@ function get_value(sym::Expr, fn)
418
end
419
sym.head !== :. && return (nothing, false)
420
for ex in sym.args
421
- exfound = get_value(ex, fn)
422
- ex = exfound[1]; found = exfound[2]::Bool
+ ex, found::Bool = get_value(ex, fn)
423
!found && return (nothing, false)
424
425
+ fn, found::Bool = get_value(ex, fn)
426
427
428
return (fn, true)
0 commit comments