Bug #10028

nested rest keyword argument

Added by Nobuyoshi Nakada 10 months ago. Updated 9 months ago.

[ruby-dev:48395]
Status:Assigned
Priority:Normal
Assignee:Yukihiro Matsumoto
ruby -v:trunk Backport:2.0.0: REQUIRED, 2.1: REQUIRED

Description

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

def f((*a)) end

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

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

Related issues

Related to Ruby trunk - Feature #8895: Destructuring Assignment for Hash Open 09/11/2013

History

#1 Updated by Nobuyoshi Nakada 10 months ago

  • Related to Feature #8895: Destructuring Assignment for Hash added

#2 Updated by Hiroshi SHIBATA 9 months ago

  • Status changed from Open to Assigned

Also available in: Atom PDF