aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-09-25 21:07:18 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-09-26 00:41:16 +1300
commit22af2e9084d869b0d1eb24e4c11bc1fd62b7c50d (patch)
tree3dc85492cfb7dd846612ebb8635b8b4cc4874862 /vm_method.c
parent75cf29f60d87b298edfd75611bfe272a92289cee (diff)
downloadruby-22af2e9084d869b0d1eb24e4c11bc1fd62b7c50d.tar.gz
Rework vm_core to use `int first_lineno` struct member.
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index 03ab66d580..08e91ea039 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -909,7 +909,7 @@ rb_method_entry_make(VALUE klass, ID mid, VALUE defined_class, rb_method_visibil
}
if (iseq) {
rb_compile_warning(RSTRING_PTR(rb_iseq_path(iseq)),
- FIX2INT(ISEQ_BODY(iseq)->location.first_lineno),
+ ISEQ_BODY(iseq)->location.first_lineno,
"previous definition of %"PRIsVALUE" was here",
rb_id2str(old_def->original_id));
}