klass == (VALUE)NULL
--> !klass
Co-authored-by: Rafael Mendonça França <rafael@franca.dev>
This commit is contained in:
parent
5dd46a345a
commit
96a2e27185
@ -5051,7 +5051,7 @@ vm_defined(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, rb_num_t op_
|
||||
|
||||
if (me) {
|
||||
VALUE klass = vm_search_normal_superclass(me->defined_class);
|
||||
if (klass == (VALUE)NULL) return false;
|
||||
if (!klass) return false;
|
||||
|
||||
ID id = me->def->original_id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user