Skip to content

Commit cb40432

Browse files
committed
Use ERROR_ARGS_AT
1 parent 6384f79 commit cb40432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8270,7 +8270,7 @@ compile_builtin_function_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NOD
82708270
NODE *args_node = node->nd_args;
82718271

82728272
if (parent_block != NULL) {
8273-
COMPILE_ERROR(iseq, nd_line(line_node), "should not call builtins here.");
8273+
COMPILE_ERROR(ERROR_ARGS_AT(line_node) "should not call builtins here.");
82748274
return COMPILE_NG;
82758275
}
82768276
else {

0 commit comments

Comments
 (0)