Skip to content

Commit ffa966e

Browse files
authored
Remove start_repl_server code from REPL module (#39162)
`REPL.start_repl_server(port::Int)` uses outdated API and no longer functions. It should be removed. ```julia julia> import REPL julia> REPL.start_repl_server(8080) ERROR: MethodError: no method matching listen(::REPL.var"#80#81", ::Int64) ```
1 parent e57501c commit ffa966e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

stdlib/REPL/src/REPL.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,12 +1232,4 @@ function run_frontend(repl::StreamREPL, backend::REPLBackendRef)
12321232
nothing
12331233
end
12341234

1235-
function start_repl_server(port::Int)
1236-
return listen(port) do server, status
1237-
client = accept(server)
1238-
run_repl(client)
1239-
nothing
1240-
end
1241-
end
1242-
12431235
end # module

0 commit comments

Comments
 (0)