From: "kddnewton (Kevin Newton) via ruby-core" Date: 2024-06-11T12:14:50+00:00 Subject: [ruby-core:118290] [Ruby master Bug#20572] Compilation hangs with nested until 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/