Forum: Ruby-dev [Open] nested rest keyword argument

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4c9779ffff66b09982330c24aca79ab7?d=identicon&s=25 Nobuyoshi N. (nobu)
on 2014-07-11 10:03
(Received via mailing list)
Issue #10028 has been reported by Nobuyoshi Nakada.

Bug #10028: nested rest keyword argument

* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* Category: syntax
* Target version:
* ruby -v: trunk
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED
ネストしたrest argumentは通りますが

def f((*a)) end

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

def f((*a)) end #=> syntax error, unexpected **arg
This topic is locked and can not be replied to.