Project

General

Profile

Actions

Patch #32542

closed

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

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

Added by Seiei Miyagi almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
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 `**`.


Files


Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #31500: Ruby 2.7 supportClosedGo MAEDAActions

Updated by Mischa The Evil almost 7 years ago Actions #1

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.

Updated by Seiei Miyagi almost 7 years ago Actions #2

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

Updated by Go MAEDA almost 7 years ago Actions #4

Updated by Go MAEDA almost 7 years ago Actions #5

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

Committed as a part of #31500. Thank you.

Actions

Also available in: PDF Atom