diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-11-02 15:00:58 -0300 |
---|---|---|
committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-11-02 17:46:43 -0300 |
commit | 33f18b3d2fac1d79d33b895fca58290823765d07 (patch) | |
tree | 750132914aa40449f6e844f72ba84706d06e356a /prism_compile.c | |
parent | 62baf723b6204bb8a067f3d9df911b7962b57304 (diff) | |
download | ruby-33f18b3d2fac1d79d33b895fca58290823765d07.tar.gz |
[PRISM] Fix popped for CaseNode
Diffstat (limited to 'prism_compile.c')
-rw-r--r-- | prism_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prism_compile.c b/prism_compile.c index d75986e4f0..b8aeebd69f 100644 --- a/prism_compile.c +++ b/prism_compile.c @@ -1733,7 +1733,7 @@ pm_compile_node(rb_iseq_t *iseq, const pm_node_t *node, LINK_ANCHOR *const ret, pm_while_node_t *condition_node = (pm_while_node_t *)conditions.nodes[i]; if (condition_node->statements) { - PM_COMPILE_NOT_POPPED((pm_node_t *)condition_node->statements); + PM_COMPILE((pm_node_t *)condition_node->statements); } else { PM_PUTNIL_UNLESS_POPPED; |