-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPL Completion throws a keymap error - expected MethodCompletion, got TextCompletion #57159
Comments
I think this is fixed on master |
it's #57138 |
Indeed, and that's marked for backport. |
Thank you for your quick replies. I will wait for the next release and stick to 1.10.7 / 1.11.2 in the meantime. |
I am getting similar error in 1.11.3
|
It will be fixed in the next 1.10 and 1.11 releases. |
@IanButterworth I still get this on nightly Version 1.12.0-DEV.1970 (2025-02-03): julia> @btime s[1005:5005,3000:4000]┌ Error: Error in the keymap
│ exception =
│ UndefVarError: `check_for_hint` not defined in `REPL.LineEdit`
│ Suggestion: check for spelling errors or missing imports.
│ Stacktrace:
│ [1] getproperty
│ @ ./Base_compiler.jl:47 [inlined]
│ [2] (::REPLExt.var"#repl_init##0#repl_init##1"{REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::REPL.LineEditREPL, ::Vararg{Any})
│ @ REPLExt ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Pkg/ext/REPLExt/REPLExt.jl:184
│ [3] #invokelatest#1
│ @ ./essentials.jl:1057 [inlined]
│ [4] invokelatest
│ @ ./essentials.jl:1053 [inlined]
│ [5] (::REPL.LineEdit.var"#match_input##0#match_input##1"{REPLExt.var"#repl_init##0#repl_init##1"{REPL.LineEdit.Prompt}, String})(s::Any, p::Any)
│ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:1794
│ [6] macro expansion
│ @ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2944 [inlined]
│ [7] macro expansion
│ @ ./lock.jl:376 [inlined]
│ [8] (::REPL.LineEdit.var"#prompt!##2#prompt!##3"{REPL.Terminals.TTYTerminal, REPL.LineEdit.ModalInterface, REPL.LineEdit.MIState, REPL.LineEdit.Prompt})()
│ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2933
└ @ REPL.LineEdit ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2946 |
ok. That's a different issue. Please open a new one. |
In a fresh Julia 1.10.8 session, if I type
map(a
followed by a TAB key (for completion), I get the following error messageThe same problem appears in version 1.11.3; it was not apparent in 1.10.7 or 1.11.2.
I am running Julia on a Intel MacBook Pro.
The text was updated successfully, but these errors were encountered: