-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
REPLJulia's REPL (Read Eval Print Loop)Julia's REPL (Read Eval Print Loop)bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcompletionsTab and autocompletion in the replTab and autocompletion in the repl
Description
MWE:
- Launch Julia 1.12.0-beta4 (also reproduces on nightly as of 2025-06-10)
- Enter Pkg mode
- Type in
add minimap2
- Then tap the right arrow
Results in:
(asm) pkg> add minimap2┌ Error: Error in the keymap
│ exception =
│ FieldError: type String has no field `second`; String has no fields at all.
│ Stacktrace:
│ [1] getproperty(x::String, f::Symbol)
│ @ Base ./Base_compiler.jl:54
│ [2] edit_move_right(m::REPL.LineEdit.MIState)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.12.0-beta4+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:836
│ [3] (::REPL.LineEdit.var"#223#224")(::REPL.LineEdit.MIState, ::Any, ::Vararg{Any})
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.12.0-beta4+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2656
│ [4] (::REPL.LineEdit.var"#match_input##0#match_input##1"{REPL.LineEdit.var"#223#224", String})(s::Any, p::Any)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.12.0-beta4+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:1810
│ [5] macro expansion
│ @ ~/.julia/juliaup/julia-1.12.0-beta4+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2960 [inlined]
│ [6] macro expansion
│ @ ./lock.jl:376 [inlined]
│ [7] (::REPL.LineEdit.var"#prompt!##2#prompt!##3"{REPL.Terminals.TTYTerminal, REPL.LineEdit.ModalInterface, REPL.LineEdit.MIState, REPL.LineEdit.Prompt})()
│ @ REPL.LineEdit ~/.julia/juliaup/julia-1.12.0-beta4+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2949
└ @ REPL.LineEdit ~/.julia/juliaup/julia-1.12.0-beta4+0.x64.linux.gnu/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2962
Metadata
Metadata
Assignees
Labels
REPLJulia's REPL (Read Eval Print Loop)Julia's REPL (Read Eval Print Loop)bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcompletionsTab and autocompletion in the replTab and autocompletion in the repl