mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Get rid of unintented recursion when RUBY_DEBUG
This commit is contained in:
parent
1bd021a789
commit
97efd48fb1
1 changed files with 1 additions and 1 deletions
2
error.c
2
error.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue