From: "ko1 (Koichi Sasada)" Date: 2022-10-06T04:22:05+00:00 Subject: [ruby-core:110191] [Ruby master Bug#18919] Ractor: can't share #Method objects Issue #18919 has been updated by ko1 (Koichi Sasada). Assignee set to ko1 (Koichi Sasada) Now Method object is not shareable, but if the receiver is shareable, we can make it shareable. Matz asked me to make it shareable, so we can consider the spec. ---------------------------------------- Bug #18919: Ractor: can't share #Method objects https://bugs.ruby-lang.org/issues/18919#change-99466 * Author: chucke (Tiago Cardoso) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) * 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: