зеркало из https://github.com/github/ruby.git
Fix a typo [ci skip]
This commit is contained in:
Родитель
799253dc46
Коммит
17c6b6b16e
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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче