
11 Jun
2024
11 Jun
'24
12:14 p.m.
Issue #20572 has been updated by kddnewton (Kevin Newton). This is another example, I imagine because of the same source problem. It also works if you disable optimizations: ```ruby _ = _ rescue while 1 end ``` ---------------------------------------- Bug #20572: Compilation hangs with nested until https://bugs.ruby-lang.org/issues/20572#change-108794 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ```ruby until while 1 end end ``` this code causes an infinite loop in the compiler. -- https://bugs.ruby-lang.org/