diff options
author | Alan Wu <[email protected]> | 2024-02-08 19:10:51 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2024-02-12 13:02:50 -0500 |
commit | e878bbd641f255b5d8f9e99b84ff8082a5b7fdaf (patch) | |
tree | 787eec71f807891edabbb15023e31b08c793bee2 /lib/irb/context.rb | |
parent | e08c128417fd840c72f8e7d6cbfa59970fb7a5b8 (diff) |
Allow `foo(**nil, &block_arg)`
Previously, `**nil` by itself worked, but if you add a block argument,
it raised a conversion error. The presence of the block argument
shouldn't change how keyword splat works.
See: <https://bugs.ruby-lang.org/issues/20064>
Diffstat (limited to 'lib/irb/context.rb')
0 files changed, 0 insertions, 0 deletions