Patch #32542
closed
Fix ruby 2.7 warning: The last argument is used as the keyword parameter
Added by Seiei Miyagi almost 5 years ago.
Updated almost 5 years ago.
Description
I run rake test on ruby 2.7, there are several warnings about keyword argument.
I fix it by adding `**`.
Files
Just my two cents on this: given all the reverts in the 2.7 pre-releases, I'd suggest to wait with the commit of this patch until a 2.7 final release.
I updated the patch.
Change **options.merge(other: opt)
to **options, other: opt
.
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed as a part of #31500. Thank you.
Also available in: Atom
PDF