https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112011-11-03T05:31:17ZRuby Issue Tracking SystemRuby master - Bug #5540: Final comma in argument list before block causes syntax errorhttps://bugs.ruby-lang.org/issues/5540?journal_id=218282011-11-03T05:31:17Zjballanc (Joshua Ballanco)jballanc@gmail.com
<ul></ul><p>This was introduced by r32235:</p>
<pre><code>* parse.y: comma at the end of line is no longer allowed.
A patch from Yukihiro Matsumoto <matz AT ruby-lang.org>.
(fixed #3456).
</code></pre>
<p>Is it intended that the above syntax should no longer be valid in Ruby 1.9.3?</p> Ruby master - Bug #5540: Final comma in argument list before block causes syntax errorhttps://bugs.ruby-lang.org/issues/5540?journal_id=218392011-11-03T08:47:47Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul><li><strong>Category</strong> set to <i>core</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>matz (Yukihiro Matsumoto)</i></li></ul> Ruby master - Bug #5540: Final comma in argument list before block causes syntax errorhttps://bugs.ruby-lang.org/issues/5540?journal_id=234172012-01-24T12:28:58Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Rejected</i></li></ul><p>Syntax error is intentional. It was caused by a 1.9.2 bug.</p>
<p>Matz.</p>