[ruby-core:117768] [Ruby master Bug#20468] Segfault on safe navigation in for target
From:
"nobu (Nobuyoshi Nakada) via ruby-core" <ruby-core@...>
Date:
2024-05-04 03:52:45 UTC
List:
ruby-core #117768
Issue #20468 has been updated by nobu (Nobuyoshi Nakada).
Hmmm, may be possible to interpret that code like as `foo&.then {|recv| for recv.bar in []; end}`.
Just an idea.
----------------------------------------
Bug #20468: Segfault on safe navigation in for target
https://bugs.ruby-lang.org/issues/20468#change-108176
* 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 -- [email protected]
To unsubscribe send an email to [email protected]
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/