Project

General

Profile

« Previous | Next » 

Revision c1d8829e

Added by jeremyevans (Jeremy Evans) over 5 years ago

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]