From 75cf29f60d87b298edfd75611bfe272a92289cee Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sun, 25 Sep 2022 20:45:28 +1300 Subject: Rework `first_lineno` to be `int`. --- vm_eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_eval.c') diff --git a/vm_eval.c b/vm_eval.c index 9d7a736ad9..c0558fce2b 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1718,7 +1718,7 @@ eval_make_iseq(VALUE src, VALUE fname, int line, const rb_binding_t *bind, iseq = rb_iseq_new_eval(&ast->body, ISEQ_BODY(parent)->location.label, - fname, Qnil, INT2FIX(line), + fname, Qnil, line, parent, isolated_depth); } rb_ast_dispose(ast); -- cgit v1.2.1