Skip to content

Commit 08d1c75

Browse files
authored
Moved global-setting to display_error
1 parent 94135d9 commit 08d1c75

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/REPL/src/REPL.jl

-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ function print_response(errio::IO, response, show_value::Bool, have_color::Bool,
280280
try
281281
Base.sigatomic_end()
282282
if iserr
283-
ccall(:jl_set_global, Cvoid, (Any, Any, Any), Main, :err, val)
284283
Base.invokelatest(Base.display_error, errio, val)
285284
else
286285
if val !== nothing && show_value

0 commit comments

Comments
 (0)