From: "chucke (Tiago Cardoso)" Date: 2022-07-15T22:07:10+00:00 Subject: [ruby-core:109226] [Ruby master Bug#18919] Ractor: can't share method-to-proc objects Issue #18919 has been reported by chucke (Tiago Cardoso). ---------------------------------------- Bug #18919: Ractor: can't share method-to-proc objects https://bugs.ruby-lang.org/issues/18919 * Author: chucke (Tiago Cardoso) * Status: Open * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- The following is not shareable: ```ruby > meth = ::Kernel.method(:BigDecimal) => # :816:in `make_shareable': can not make shareable object for # (Ractor::Error) ``` I understand that procs have the issue of accessing outer-scope variables, but does the same apply to methods converted to procs? -- https://bugs.ruby-lang.org/ Unsubscribe: