diff options
author | yui-knk <spiketeika@gmail.com> | 2023-10-09 15:57:40 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2023-10-09 19:08:23 +0900 |
commit | 8c2a4932331987586d583fa58a6e80920c6743c5 (patch) | |
tree | 9f4c37ad3b56a866c25bdf52bf68d3abe205108f /compile.c | |
parent | 3049b5e348be2595e4b8c5dbddcdaef5a82d0276 (diff) | |
download | ruby-8c2a4932331987586d583fa58a6e80920c6743c5.tar.gz |
Fix cast node type
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4890,7 +4890,7 @@ rb_node_case_when_optimizable_literal(const NODE *const node) case NODE_FALSE: return Qfalse; case NODE_STR: - return rb_fstring(RNODE_LIT(node)->nd_lit); + return rb_fstring(RNODE_STR(node)->nd_lit); } return Qundef; } |