mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Follow up "Rework first_lineno
to be int
."
This commit is contained in:
parent
1de8a42869
commit
9b462aec4a
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ prelude_eval(VALUE code, VALUE name, int line)
|
|||
};
|
||||
|
||||
rb_ast_t *ast = prelude_ast(name, code, line);
|
||||
rb_iseq_eval(rb_iseq_new_with_opt(&ast->body, name, name, Qnil, INT2FIX(line),
|
||||
rb_iseq_eval(rb_iseq_new_with_opt(&ast->body, name, name, Qnil, line,
|
||||
NULL, 0, ISEQ_TYPE_TOP, &optimization));
|
||||
rb_ast_dispose(ast);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue