
Issue #20468 has been updated by kddnewton (Kevin Newton). @nobu it's the same possibilities in `for`, `rescue`, and multi-write. As in: ```ruby for (foo, @foo, @@foo, $foo, Foo, Foo::Foo, foo.foo, foo[foo]) in bar; end begin; rescue => foo; end begin; rescue => @foo; end begin; rescue => @@foo; end begin; rescue => $foo; end begin; rescue => Foo; end begin; rescue => Foo::Foo; end begin; rescue => foo.foo; end begin; rescue => foo[foo]; end (foo, @foo, @@foo, $foo, Foo, Foo::Foo, foo.foo, foo[foo]) = bar ``` ---------------------------------------- Bug #20468: Segfault on safe navigation in for target https://bugs.ruby-lang.org/issues/20468#change-108198 * Author: kddnewton (Kevin Newton) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- ```ruby for foo&.bar in []; end ``` -- https://bugs.ruby-lang.org/