diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-20 15:05:30 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-01-20 19:24:16 +0900 |
commit | 565aeb81e0886c835888a425e5d05ed99fb03238 (patch) | |
tree | b5aba66bd777aecfcef47fa6ef90a494ab0a23e5 /variable.c | |
parent | f4a556f4f1bf82f944ef576fdb3acd755e567368 (diff) |
Skip freezing check on setting temporary class path [Bug #17563]
Co-authored-by: ryannevell (Ryan Nevell) <ryan.nevell@gmail.com>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4101
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 52da16f0df..92d7d11eab 100644 --- a/variable.c +++ b/variable.c @@ -3058,7 +3058,7 @@ rb_const_set(VALUE klass, ID id, VALUE val) set_namespace_path(val, build_const_path(parental_path, id)); } else if (!parental_path_permanent && NIL_P(val_path)) { - rb_ivar_set(val, tmp_classpath, build_const_path(parental_path, id)); + ivar_set(val, tmp_classpath, build_const_path(parental_path, id)); } } } |