Closed
Description
When running ?÷=
in the REPL, the lookup fails with this error:
help?> ÷=
ERROR: LoadError: StringIndexError: invalid index [2], valid nearby indices [1]=>'÷', [3]=>'='
Stacktrace:
[1] string_index_err(s::String, i::Int64)
@ Base ./strings/string.jl:12
[2] getindex
@ ./strings/string.jl:263 [inlined]
[3] lookup_doc(ex::Symbol)
@ REPL /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/docview.jl:224
[4] docm(source::LineNumberNode, mod::Module, ex::Any)
@ Base.Docs ./docs/Docs.jl:521
[5] var"@doc"(__source__::LineNumberNode, __module__::Module, x::Vararg{Any, N} where N)
@ Core ./boot.jl:508
in expression starting at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/REPL/src/docview.jl:466
The error is a little confusing, since it doesn't seem that it can't find the documentation, but rather, it fails to index into the string "÷=".
Version info:
julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels