-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
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 behavior
Milestone
Description
Paste this into the REPL without loading Pkg first:
julia> 1+1
2
pkg> st
julia> 1+1
2
julia> 1+1
2
(@v1.12) pkg> st
┌ Error: Error in the keymap
│ exception =
│ MethodError: no method matching (::REPLExt.var"#31#34"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::IOBuffer, ::Bool)
│ The applicable method may be too new: running in world age 26348, while current world is 26369.
│
│ Closest candidates are:
│ (::REPLExt.var"#31#34")(::Any, ::Any, ::Any) (method too new to be called from this world context.)
│ @ REPLExt ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Pkg/ext/REPLExt/REPLExt.jl:118
│
│ Stacktrace:
│ [1] (::REPL.var"#113#125"{Regex, Regex, Int64, Int64, REPL.LineEdit.Prompt, REPL.LineEdit.Prompt, REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Any, ::Vararg{Any})
│ @ REPL ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/REPL.jl:1342
│ [2] #invokelatest#2
│ @ ./essentials.jl:1030 [inlined]
│ [3] invokelatest
│ @ ./essentials.jl:1027 [inlined]
│ [4] (::REPL.LineEdit.var"#27#28"{REPL.var"#113#125"{Regex, Regex, Int64, Int64, REPL.LineEdit.Prompt, REPL.LineEdit.Prompt, REPL.LineEdit.Prompt}, String})(s::Any, p::Any)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:1700
│ [5] prompt!(term::REPL.Terminals.TextTerminal, prompt::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2837
│ [6] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2739
│ [7] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
│ @ REPL ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/REPL.jl:1406
│ [8] (::REPL.var"#75#81"{REPL.LineEditREPL, REPL.REPLBackendRef})()
│ @ REPL ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/REPL.jl:456
└ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2839
guess this needs an @invokelatest
.
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 behavior