summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-01-08 12:03:12 +0900
committerNobuyoshi Nakada <[email protected]>2025-01-08 13:26:14 +0900
commitb81db531b24a6824bf5b89d8460baed5d5418835 ()
tree8f14a7c37151c61d482a382e25aadf9bb984ff16 /compile.c
parent1a06bee027d5c5b65ed0aaee76ee0040554d4efd (diff)
[Bug #21011] `nd_value` is NULL in massign
Notes: Merged: https://.com/ruby/ruby/pull/12530
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
@@ -10417,7 +10417,7 @@ compile_shareable_literal_constant(rb_iseq_t *iseq, LINK_ANCHOR *ret, enum rb_pa
VALUE lit = Qnil;
DECL_ANCHOR(anchor);
- enum node_type type = nd_type(node);
switch (type) {
case NODE_TRUE:
*value_p = Qtrue;