Bug #22534
open
Added by tekknolagi (Maxwell Bernstein) 2 days ago.
Description
The following snippet causes a crash both on 3.4 and master:
a = [7, begin; [(true || 2), (foo while true)]; rescue; 5; end, 6]
p a
def m = (begin; [(true || 2), (foo while true)]; rescue; 5; end)
p m
I think the peephole compiler somehow messes up the stack depth.
Also available in: PDF
Atom