https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-03-11T17:24:41ZRuby Issue Tracking SystemRuby master - Bug #5989: Keyword spash is syntax error when there are no explicit keyword argumentshttps://bugs.ruby-lang.org/issues/5989?journal_id=244922012-03-11T17:24:41Zko1 (Koichi Sasada)
<ul><li><strong>Assignee</strong> set to <i>mame (Yusuke Endoh)</i></li></ul> Ruby master - Bug #5989: Keyword spash is syntax error when there are no explicit keyword argumentshttps://bugs.ruby-lang.org/issues/5989?journal_id=245572012-03-13T15:17:11Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r34998.<br>
Yura, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>parse.y (block_param, f_args): add rules for the case arguments<br>
begin with kwrest. <a href="/issues/5989">[ruby-core:42455]</a>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Keyword spash is syntax error when there are no explicit keyword arguments (Closed)" href="https://bugs.ruby-lang.org/issues/5989">#5989</a>]</li>
</ul> Ruby master - Bug #5989: Keyword spash is syntax error when there are no explicit keyword argumentshttps://bugs.ruby-lang.org/issues/5989?journal_id=245612012-03-13T21:59:21Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Open</i></li><li><strong>% Done</strong> changed from <i>100</i> to <i>20</i></li></ul> Ruby master - Bug #5989: Keyword spash is syntax error when there are no explicit keyword argumentshttps://bugs.ruby-lang.org/issues/5989?journal_id=245622012-03-13T22:00:19Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>20</i> to <i>100</i></li></ul><p>This issue was solved with changeset r34999.<br>
Yura, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>compile.c (iseq_set_arguments): keyword rest arg without keyword args.</li>
<li>node.c (dump_node): dump kw_rest_arg too.</li>
<li>parse.y (block_param, f_arg): more kwrest patterns.<br>
<a href="/issues/5989">[ruby-core:42455]</a>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Keyword spash is syntax error when there are no explicit keyword arguments (Closed)" href="https://bugs.ruby-lang.org/issues/5989">#5989</a>]</li>
<li>parse.y (new_args_gen): no extra kw_rest_arg if no keyword rest arg.</li>
</ul>