Project

General

Profile

Actions

Bug #10028

closed

nested rest keyword argument

Added by nobu (Nobuyoshi Nakada) over 10 years ago. Updated over 8 years ago.

Status:
Rejected
Target version:
-
ruby -v:
trunk
[ruby-dev:48395]

Description

ネストしたrest argumentは通りますが

def f((*a)) end

ネストしたrest keyword argumentはsyntax errorになります。

def f((**a)) end #=> syntax error, unexpected **arg

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #8895: Destructuring Assignment for HashClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0