diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-18 12:28:50 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-05-18 12:28:50 +0900 |
commit | b02c10b2407447cf8a6d6a001b745d7790a0ca61 (patch) | |
tree | 31744835e26b95466df5bde9c539bcf25b31e973 /compile.c | |
parent | fa7addebb498d92d059a020a1a9739e5522b27dc (diff) |
built-in method call must not have a receiver
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7034,6 +7034,7 @@ compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, in NODE *args_node = node->nd_args; if (UNLIKELY(iseq_has_builtin_function_table(iseq)) && + (type == NODE_VCALL || type == NODE_FCALL) && (builtin_func = iseq_builtin_function_name(mid)) != NULL) { if (parent_block != NULL) { |