diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-21 18:40:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-21 18:40:03 +0900 |
commit | cb40432c74b9c5f785e8be53cbda981a64d47c72 (patch) | |
tree | becaa3b854373b90d236d1c04022fcb8ee1f7c1d /compile.c | |
parent | 6384f7981c1d7cebc5a30640145fc07cce673f8d (diff) |
Use `ERROR_ARGS_AT`
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |