From: "alanwu (Alan Wu) via ruby-core" Date: 2025-01-08T00:00:48+00:00 Subject: [ruby-core:120537] [Ruby master Bug#21013] Backport request for YJIT fix for `yield` with keyword arguments 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/