summaryrefslogtreecommitdiff
path: root/prism_compile.c
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-07-16 13:47:53 -0400
committerKevin Newton <[email protected]>2024-07-16 14:40:20 -0400
commitb0a99d0da9a11a45a5fd3fd655cab8d246fb27a4 ()
tree011c0672cdda041f2cf04e63b9406387396168d6 /prism_compile.c
parent90e945a7b7eca49774fe914ab884b46cfab15a34 (diff)
[PRISM] Properly compile branch conditions in their own sequence
Notes: Merged: https://.com/ruby/ruby/pull/11177
-rw-r--r--prism_compile.c21
1 files changed, 20 insertions, 1 deletions
@@ -989,7 +989,26 @@ again:
break;
}
default: {
- pm_compile_node(iseq, cond, ret, false, scope_node);
break;
}
}