mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Previously, the code for dropping surplus arguments when yielding into blocks erroneously attempted to drop keyword arguments when there is in fact no surplus arguments. Fix the condition and test that supplying the exact number of keyword arguments as require compiles without fallback.