diff options
author | Samuel Williams <[email protected]> | 2022-09-25 20:45:28 +1300 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2022-09-26 00:41:16 +1300 |
commit | 75cf29f60d87b298edfd75611bfe272a92289cee (patch) | |
tree | a5f69bcc15b1901a258463e16ad3c5d90d545108 /vm_eval.c | |
parent | a95b741a973438a3ea666b8997efa8194e1fd5e7 (diff) |
Rework `first_lineno` to be `int`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6430
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |