-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
An error appears when trying to overwrite the shell model key with julia 1.8
.
julia> using ReplMaker
julia> function parse_to_expr(s)
quote Meta.parse($s) end
end
parse_to_expr (generic function with 1 method)
julia> initrepl(parse_to_expr,
prompt_text="Expr> ",
prompt_color = :blue,
start_key=';',
mode_name="Expr_mode")
┌ Warning: REPL key ';' overwritten.
└ @ ReplMaker C:\Users\ilyao\.julia\packages\ReplMaker\ViCwA\src\ReplMaker.jl:96
ERROR: MethodError: no method matching deepcopy_internal(::Base.Threads.SpinLock)
Closest candidates are:
deepcopy_internal(::Base.AbstractLock, ::IdDict) at deepcopy.jl:130
deepcopy_internal(::Any, ::IdDict) at deepcopy.jl:53
deepcopy_internal(::BigInt, ::IdDict) at gmp.jl:794
...
Stacktrace:
[1] deepcopy_internal(x::Base.GenericCondition{Base.Threads.SpinLock}, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:143
[2] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any}) (repeats 4 times)
@ Base .\deepcopy.jl:65
[3] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:76
[4] deepcopy_internal(x::Dict{Char, Any}, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:125
[5] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:65
[6] deepcopy_internal(x::Dict{Symbol, REPL.LineEdit.Prompt}, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:125
[7] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any}) (repeats 2 times)
@ Base .\deepcopy.jl:65
[8] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:76
[9] deepcopy_internal(x::Dict{Char, Any}, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:125
[10] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:65
[11] deepcopy_internal(x::Any, stackdict::IdDict{Any, Any})
@ Base .\deepcopy.jl:76
[12] deepcopy(x::Function)
@ Base .\deepcopy.jl:26
[13] initrepl(parser::typeof(parse_to_expr); prompt_text::String, prompt_color::Symbol, start_key::Char, repl::REPL.LineEditREPL, mode_name::String, show_function::Nothing, show_function_io::Base.TTY, valid_input_checker::Function, keymap::Dict{Char, Any}, completion_provider::REPL.REPLCompletionProvider, sticky_mode::Bool, startup_text::Bool)
@ ReplMaker C:\Users\ilyao\.julia\packages\ReplMaker\ViCwA\src\ReplMaker.jl:97
[14] top-level scope
@ REPL[3]:1
Metadata
Metadata
Assignees
Labels
No labels