Patch #32542

Fix ruby 2.7 warning: The last argument is used as the keyword parameter

Added by Seiei Miyagi over 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Ruby support
Target version:-

Description

I run rake test on ruby 2.7, there are several warnings about keyword argument.
I fix it by adding `**`.

0001-Fix-ruby-2.7-warning-The-last-argument-is-used-as-th.patch Magnifier (3.47 KB) Seiei Miyagi, 2019-12-02 08:25

0001-Fix-ruby-2.7-warning-The-last-argument-is-used-as-th.patch Magnifier (3.45 KB) Seiei Miyagi, 2019-12-02 09:06

0001-Fix-ruby-2.7-warning-The-last-argument-is-used-as-th.patch Magnifier (3.45 KB) Seiei Miyagi, 2019-12-02 09:11


Related issues

Related to Redmine - Feature #31500: Ruby 2.7 support Closed

Associated revisions

Revision 19454
Added by Go MAEDA about 1 year ago

Fix ruby 2.7 warning: The last argument is used as the keyword parameter (#32542, #31500).

Patch by Seiei Miyagi.

History

#1 Updated by Mischa The Evil over 1 year ago

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.

#2 Updated by Seiei Miyagi over 1 year ago

I updated the patch.
Change **options.merge(other: opt) to **options, other: opt.

#4 Updated by Go MAEDA over 1 year ago

#5 Updated by Go MAEDA about 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed as a part of #31500. Thank you.

Also available in: Atom PDF