[#120465] [Ruby master Bug#20998] rb_str_locktmp() changes flags of frozen strings and string literals — "Eregon (Benoit Daloze) via ruby-core" <ruby-core@...>
Issue #20998 has been reported by Eregon (Benoit Daloze).
17 messages
2025/01/03
[ruby-core:120537] [Ruby master Bug#21013] Backport request for YJIT fix for `yield` with keyword arguments
From:
"alanwu (Alan Wu) via ruby-core" <ruby-core@...>
Date:
2025-01-08 00:00:48 UTC
List:
ruby-core #120537
Issue #21013 has been reported by alanwu (Alan Wu).
----------------------------------------
Bug #21013: Backport request for YJIT fix for `yield` with keyword arguments
https://bugs.ruby-lang.org/issues/21013
* Author: alanwu (Alan Wu)
* Status: Closed
* Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED, 3.4: REQUIRED
----------------------------------------
GitHub PR: https://github.com/ruby/ruby/pull/12525
The patch applies cleanly.
Programs like the following used to crash when run with YJIT:
```ruby
def a = yield(x: 0)
1000.times { a { |x:| x } }
```
--
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/lists/ruby-core.ml.ruby-lang.org/