Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove excess allocation for kwsplat to kw call
Previously, calls like the following duplicated the kwsplat hash unnecessarily: ```ruby def foo(a:) = a hash = {a: 10} foo(**hash) ``` This is due to the fix in ca204a2. Since it targets when the callee has no keyword parameters, skip duplicating when the method takes keywords.
- Loading branch information