
7 Jan
2025
7 Jan
'25
6 p.m.
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/