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.
Symbol
1 parent 750df9f commit fd38d50Copy full SHA for fd38d50
stdlib/REPL/src/docview.jl
@@ -47,7 +47,7 @@ function _helpmode(io::IO, line::AbstractString, mod::Module=Main)
47
x = Meta.parse(line, raise = false, depwarn = false)
48
assym = Symbol(line)
49
expr =
50
- if haskey(keywords, Symbol(line)) || Base.isoperator(assym) || isexpr(x, :error) ||
+ if haskey(keywords, assym) || Base.isoperator(assym) || isexpr(x, :error) ||
51
isexpr(x, :invalid) || isexpr(x, :incomplete)
52
# Docs for keywords must be treated separately since trying to parse a single
53
# keyword such as `function` would throw a parse error due to the missing `end`.
0 commit comments