diff options
author | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-08-09 11:11:18 +0900 |
---|---|---|
committer | git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-08-09 11:11:18 +0900 |
commit | 4e9382a82756ff92032b85f8ec0256b1cf5ac6ad (patch) | |
tree | 2fb772837b97caa9528b87504917df94ad915f69 /vm_insnhelper.c | |
parent | 71efad1ed391ee0c5398a76306fdbaaadd4dc52e (diff) | |
download | ruby-4e9382a82756ff92032b85f8ec0256b1cf5ac6ad.tar.gz |
* expand tabs.
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 29133861be..cc38a0dc4b 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -785,7 +785,7 @@ vm_get_const_key_cref(const VALUE *ep) const rb_cref_t *key_cref = cref; while (cref) { - if (FL_TEST(CREF_CLASS(cref), FL_SINGLETON) || + if (FL_TEST(CREF_CLASS(cref), FL_SINGLETON) || FL_TEST(CREF_CLASS(cref), RCLASS_CLONED)) { return key_cref; } |