aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-20 14:00:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-20 21:43:30 +0900
commit8d242a33af19672977dcdcb8d32e9ad547bc0141 (patch)
tree3e15a99988ed8b084b6af40c9f94dae33a5082eb /vm_insnhelper.c
parent87217f26f120611d009f1b178d3cc5eaf1b8b515 (diff)
downloadruby-8d242a33af19672977dcdcb8d32e9ad547bc0141.tar.gz
`rb_bug` prints a newline after the message
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 8788fba977..9407a75981 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -1363,7 +1363,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\n");
+ rb_bug("didn't find the id");
}
return val;