diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-14 14:07:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-14 23:12:31 +0900 |
commit | 97efd48fb1187995ab66a8ad386fb6d0c16e02a3 (patch) | |
tree | 4dde413b66b2a96bd747b9cc3da2be3e7e041085 /error.c | |
parent | 1bd021a78995dd1327c1e91779358ebdebc12200 (diff) | |
download | ruby-97efd48fb1187995ab66a8ad386fb6d0c16e02a3.tar.gz |
Get rid of unintented recursion when RUBY_DEBUG
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1006,7 +1006,7 @@ rb_check_type(VALUE x, int t) } xt = TYPE(x); - if (xt != t || (xt == T_DATA && RTYPEDDATA_P(x))) { + if (xt != t || (xt == T_DATA && rbimpl_rtypeddata_p(x))) { /* * Typed data is not simple `T_DATA`, but in a sense an * extension of `struct RVALUE`, which are incompatible with |