vm_setivar_slowpath: improve bug error message
We're occasionally hitting this bug on CI, it would be useful to see if the id is consistent.
This commit is contained in:
parent
8f1ec6e171
commit
960a031a06
@ -1420,7 +1420,7 @@ vm_setivar_slowpath(VALUE obj, ID id, VALUE val, const rb_iseq_t *iseq, IVC ic,
|
||||
populate_cache(index, next_shape_id, id, iseq, ic, cc, is_attr);
|
||||
}
|
||||
else {
|
||||
rb_bug("didn't find the id");
|
||||
rb_bug("vm_setivar_slowpath: didn't find ivar %s in shape", rb_id2name(id));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user