From: "Eregon (Benoit Daloze) via ruby-core" Date: 2024-05-04T10:35:56+00:00 Subject: [ruby-core:117772] [Ruby master Bug#20468] Segfault on safe navigation in for target Issue #20468 has been updated by Eregon (Benoit Daloze). IOW I think the segfault could be fixed here without changing what is valid syntax. And given this segfault probably affects older versions too there it seems better to fix the segfault than to change syntax. ---------------------------------------- Bug #20468: Segfault on safe navigation in for target https://bugs.ruby-lang.org/issues/20468#change-108180 * 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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/