diff options
author | Jeremy Evans <code@jeremyevans.net> | 2020-01-24 12:13:41 -0800 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2020-03-15 20:52:43 +0900 |
commit | 3efbd527a86203406664a01126784a10eb136405 (patch) | |
tree | 6cd56c2a0b75b3b3c552f85483860351fd72be97 /spec | |
parent | c858a10ce87033beec63516fe6407b50c6539177 (diff) |
Do not autosplat when calling proc with empty keyword splat
With the removal of the splatted argument when using an empty
keyword splat, the autosplat code considered an empty keyword
splat the same as no argument at all. However, that results
in autosplat behavior changing dependent on the content of
the splatted hash, which is not what anyone would expect or
want. This change always skips an autosplat if keywords were
provided.
Fixes [Bug #16560]
(cherry picked from commit c1d8829ef515ee51fadeadd7dd022b5c47a71cdd)
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions