Skip to content

Commit fd7ffe8

Browse files
authored
Can't do imports
1 parent 31393d6 commit fd7ffe8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

ext/AbbrvStackTracesREPLExt.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ if VERSION ≥ v"1.11"
1212
end
1313

1414
if VERSION v"1.12-alpha"
15-
import REPL:
16-
call_on_backend
17-
1815
function REPL.print_response(errio::IO, response, backend::Union{REPL.REPLBackendRef,Nothing}, show_value::Bool, have_color::Bool, specialdisplay::Union{AbstractDisplay,Nothing}=nothing)
1916
Base.sigatomic_begin()
2017
val, iserr = response
@@ -29,11 +26,11 @@ if VERSION ≥ v"1.12-alpha"
2926
if val !== nothing && show_value
3027
val2, iserr = if specialdisplay === nothing
3128
# display calls may require being run on the main thread
32-
call_on_backend(backend) do
29+
REPL.call_on_backend(backend) do
3330
Base.invokelatest(display, val)
3431
end
3532
else
36-
call_on_backend(backend) do
33+
REPL.call_on_backend(backend) do
3734
Base.invokelatest(display, specialdisplay, val)
3835
end
3936
end

0 commit comments

Comments
 (0)