From: nobu@... Date: 2014-07-11T08:03:13+00:00 Subject: [ruby-dev:48396] [ruby-trunk - Bug #10028] nested rest keyword argument Issue #10028 has been updated by Nobuyoshi Nakada. Related to Feature #8895: Destructuring Assignment for Hash added ---------------------------------------- Bug #10028: nested rest keyword argument https://bugs.ruby-lang.org/issues/10028#change-47708 * 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は通りますが ~~~ruby def f((*a)) end ~~~ ネストしたrest keyword argumentはsyntax errorになります。 ~~~ruby def f((*a)) end #=> syntax error, unexpected **arg ~~~ -- https://bugs.ruby-lang.org/