Skip to content

Commit

Permalink
Update stdlib/REPL/src/REPLCompletions.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Cody Tapscott <84105208+topolarity@users.noreply.github.com>
  • Loading branch information
Keno and topolarity authored Oct 26, 2023
1 parent 19d9ae7 commit d1a9287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/REPLCompletions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ function CC.abstract_eval_globalref(interp::REPLInterpreter, g::GlobalRef,
sv::CC.InferenceState)
if (interp.limit_aggressive_inference ? is_repl_frame(sv) : is_call_graph_uncached(sv))
if CC.isdefined_globalref(g)
return CC.RTEffects(Const(ccall(:jl_get_globalref_value, Any, (Any,), g)), EFFECTS_TOTAL)
return CC.RTEffects(Const(ccall(:jl_get_globalref_value, Any, (Any,), g)), CC.EFFECTS_TOTAL)
end
return CC.RTEffects(Union{}, EFFECTS_THROWS)
end
Expand Down

0 comments on commit d1a9287

Please sign in to comment.