Project

General

Profile

Actions

Bug #22534

open

Stack consistency error

Bug #22534: Stack consistency error

Added by tekknolagi (Maxwell Bernstein) 2 days ago.

Status:
Open
Assignee:
-
Target version:
[ruby-core:127411]

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.

No data to display

Actions

Also available in: PDF Atom