summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorSatoshi Moris Tagomori <tagomoris@gmail.com>2021-08-24 21:00:00 +0900
committerKoichi Sasada <ko1@atdot.net>2021-10-27 16:13:43 +0900
commit489e5e3a8293553578757664b338009667a8f204 (patch)
tree654d7edc51487e792dd62e28f823b7da5be4dc17 /vm_insnhelper.c
parent9541b3b7c07eeca437857bb5430dbc68d3c04858 (diff)
the core problem is the Proc is not shareable
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4771
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 5d83d3dfd5..048ed63aed 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3082,7 +3082,7 @@ vm_call_bmethod_body(rb_execution_context_t *ec, struct rb_calling_info *calling
if (!RB_OBJ_SHAREABLE_P(procv) &&
cme->def->body.bmethod.defined_ractor != rb_ractor_self(rb_ec_ractor_ptr(ec))) {
- rb_raise(rb_eRuntimeError, "defined in a different Ractor");
+ rb_raise(rb_eRuntimeError, "defined with an un-shareable Proc in a different Ractor");
}
/* control block frame */