diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-10-25 15:56:10 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-10-25 15:56:10 -0700 |
commit | ff2276ef8cd6285d657cd15801bc5768e93f73d6 (patch) | |
tree | 4d48786a59e4942c11dbead92801558397d6d6e2 /variable.c | |
parent | 9c8f0a34df3635bfde43a90bbea6a5483dcbde65 (diff) |
Fix bootstrap-test error in previous commit
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 8ac40efe80..950eac0722 100644 --- a/variable.c +++ b/variable.c @@ -2509,7 +2509,7 @@ rb_const_get_0(VALUE klass, ID id, int exclude, int recurse, int visibility) if (c != Qundef) { if (UNLIKELY(!rb_ractor_main_p())) { if (!rb_ractor_shareable_p(c)) { - rb_raise(rb_eNameError, "can not access non-sharable objects in constant %"PRIsVALUE"::%s by non-main Ractor.", rb_class_path(klass), rb_id2name(id)); + rb_raise(rb_eNameError, "can not access non-shareable objects in constant %"PRIsVALUE"::%s by non-main Ractor.", rb_class_path(klass), rb_id2name(id)); } } return c; |