diff options
author | Jean Boussier <byroot@ruby-lang.org> | 2023-11-15 10:40:12 +0100 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2023-11-15 11:19:03 +0100 |
commit | 960a031a06e4401589cfa29673e27b0bf2895f6d (patch) | |
tree | 9e7b193bd7d6278f89d0c49d14b57ec169b20f08 /vm_insnhelper.c | |
parent | 8f1ec6e171ad333e613cbcdc636280194a0f1dd6 (diff) | |
download | ruby-960a031a06e4401589cfa29673e27b0bf2895f6d.tar.gz |
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.
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 be70b93588..d961e51ffd 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -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)); } } |