-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
This seems similar to #51827.
What doesn't work:
julia> @time @eval Base.Iden<TAB>
No completion or suggestions are offered.
Using either @time
or @eval
in isolation works, but the combination doesn't.
Versioninfo:
julia> versioninfo()
Julia Version 1.12.0-DEV.1024
Commit e7e8768a775 (2024-08-08 23:44 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 12 × Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)
Environment:
JULIA_EDITOR = subl
However, this behavior is present on v1.10.4 as well.
This isn't specific to @eval
, as the same behavior is seen if other macros are used:
julia> @time @code_warntype Base.Iden<TAB>
Curiously, swapping the order of the macros gets completion to work:
julia> @eval @time Base.Iden<TAB>
julia> @code_warntype @time Base.Iden<TAB>
These complete as expected, so perhaps it's only certain macros for which this doesn't work.
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