Skip to content

Commit

Permalink
Update src/repl.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Shuhei Kadowaki <[email protected]>
  • Loading branch information
KristofferC and aviatesk authored Sep 13, 2024
1 parent cbac30a commit aa92a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ function completions(c::DebugCompletionProvider, full, partial)
m = Module()
for v in locals(frame)
ignore_local(v) && continue
Base.eval(m, :($(v.name) = $(v.value)))
Base.eval(m, :($(v.name) = $(QuoteNode(v.value))))
end

comps2, range2, should_complete2 = REPLCompletions.completions(full, lastindex(partial), m)
Expand Down

0 comments on commit aa92a87

Please sign in to comment.