summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
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 {