From 42e24a6225ee7d1a435d3641ffcdd49b90eae2e8 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 12 Feb 2026 16:19:15 -0500 Subject: [PATCH] Fix JET errors around matching methods for `send_msg(...)` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ┌ send_msg(s::IO, header::Any, msg::Any) @ Distributed /workpath/Distributed.jl/src/messages.jl:105 │ no matching method found `send_msg(::Distributed.LocalProcess, ::Any, ::Any)` (1/2 union split): Distributed.send_msg(Distributed.worker_from_id(id::Int64)::Union{Distributed.LocalProcess, Distributed.Worker}, header::Any, msg::Any) └──────────────────── ``` (cherry picked from commit 7223f4f14dc3749515ae36e76973045e27791606) --- src/messages.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages.jl b/src/messages.jl index 6e895f0..a27b9ed 100644 --- a/src/messages.jl +++ b/src/messages.jl @@ -102,7 +102,7 @@ end function send_msg(s::IO, header, msg) id = worker_id_from_socket(s) if id > -1 - return send_msg(worker_from_id(id), header, msg) + return send_msg(worker_from_id(id)::Worker, header, msg) end send_msg_unknown(s, header, msg) end