julia
julia copied to clipboard
`(3,2).<TAB>` errors in the REPL
julia> (3,2).┌ Error: Error in the keymap
│ exception =
│ MethodError: Cannot `convert` an object of type Int64 to an object of type Symbol
│ Closest candidates are:
│ convert(::Type{T}, ::T) where T at Base.jl:61
│ Symbol(::Any...) at strings/basic.jl:229
│ Stacktrace:
│ [1] REPL.REPLCompletions.FieldCompletion(typ::Type, field::Int64)
│ @ REPL.REPLCompletions ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/REPLCompletions.jl:39
│ [2] complete_symbol(sym::String, ffunc::Any, context_module::Module)
│ @ REPL.REPLCompletions ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/REPLCompletions.jl:203
│ [3] completions(string::String, pos::Int64, context_module::Module, shift::Bool)
│ @ REPL.REPLCompletions ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/REPLCompletions.jl:916
│ [4] complete_line(c::REPL.REPLCompletionProvider, s::REPL.LineEdit.PromptState)
│ @ REPL ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/REPL.jl:497
│ [5] complete_line(s::REPL.LineEdit.PromptState, repeats::Int64)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/LineEdit.jl:353
│ [6] complete_line(s::REPL.LineEdit.MIState)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/LineEdit.jl:344
│ [7] edit_tab(s::REPL.LineEdit.MIState, jump_spaces::Bool, delete_trailing::Bool) (repeats 2 times)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/LineEdit.jl:2180
│ [8] (::REPL.LineEdit.var"#112#166")(::REPL.LineEdit.MIState, ::Any, ::Vararg{Any})
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.8.1+0.x64/share/julia/stdlib/v1.8/REPL/src/LineEdit.jl:2226