aboutsummaryrefslogtreecommitdiffstats
path: root/prism_compile.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-10-01 12:40:32 +0200
committerKevin Newton <kddnewton@gmail.com>2023-10-02 09:18:56 -0400
commitfd984ac86920981a0fc8c05c36b2433697d2bce5 (patch)
tree43f2300801eb4377da812abcc61c6c0ffa70f5cf /prism_compile.c
parent87dad067e03f98df7a64d4ce555e1213847e8dbb (diff)
downloadruby-fd984ac86920981a0fc8c05c36b2433697d2bce5.tar.gz
Adopt prism CallNode#name changes
Diffstat (limited to 'prism_compile.c')
-rw-r--r--prism_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism_compile.c b/prism_compile.c
index 28710f848c..a7b6c14ce4 100644
--- a/prism_compile.c
+++ b/prism_compile.c
@@ -986,7 +986,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret,
case PM_CALL_NODE: {
pm_call_node_t *call_node = (pm_call_node_t *) node;
- ID method_id = parse_string_symbol(&call_node->name);
+ ID method_id = pm_constant_id_lookup(compile_context, call_node->name);
int flags = 0;
int orig_argc = 0;