mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix a typo [ci skip]
This commit is contained in:
parent
799253dc46
commit
17c6b6b16e
1 changed files with 1 additions and 1 deletions
2
vm.c
2
vm.c
|
@ -1014,7 +1014,7 @@ env_copy(const VALUE *src_ep, VALUE read_only_variables)
|
||||||
VALUE v = src_env->env[j];
|
VALUE v = src_env->env[j];
|
||||||
if (!rb_ractor_shareable_p(v)) {
|
if (!rb_ractor_shareable_p(v)) {
|
||||||
rb_raise(rb_ractor_error_class(),
|
rb_raise(rb_ractor_error_class(),
|
||||||
"can not make shareable Proc because it can refere unshareable object %"
|
"can not make shareable Proc because it can refer unshareable object %"
|
||||||
PRIsVALUE" from variable `%s'", rb_inspect(v), rb_id2name(id));
|
PRIsVALUE" from variable `%s'", rb_inspect(v), rb_id2name(id));
|
||||||
}
|
}
|
||||||
env_body[j] = v;
|
env_body[j] = v;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue