From cb40432c74b9c5f785e8be53cbda981a64d47c72 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 21 Feb 2023 18:40:03 +0900 Subject: [PATCH] Use `ERROR_ARGS_AT` --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 22c5d7ea3d..3849a66a07 100644 --- a/compile.c +++ b/compile.c @@ -8270,7 +8270,7 @@ compile_builtin_function_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NOD NODE *args_node = node->nd_args; if (parent_block != NULL) { - COMPILE_ERROR(iseq, nd_line(line_node), "should not call builtins here."); + COMPILE_ERROR(ERROR_ARGS_AT(line_node) "should not call builtins here."); return COMPILE_NG; } else {