From: matz@... Date: 2016-04-30T01:00:01+00:00 Subject: [ruby-dev:49604] [Ruby trunk Bug#10028][Rejected] nested rest keyword argument Issue #10028 has been updated by Yukihiro Matsumoto. Status changed from Assigned to Rejected This is intentional. Nested arguments are assignees of multiple assignments in reality. And multiple assignments do not support rest keyword argument (yet). When we introduce something like #8895, it should be supported. Matz. ---------------------------------------- Bug #10028: nested rest keyword argument https://bugs.ruby-lang.org/issues/10028#change-58388 * Author: Nobuyoshi Nakada * Status: Rejected * Priority: Normal * Assignee: Yukihiro Matsumoto * 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/