Issue #3456 has been updated by Yui NARUSE.

Status changed from Closed to Assigned

???????????????????????以????? SyntaxError ??????????????????????????????????????????????????

irb(main):001:0> p(foo:123,)
SyntaxError: (irb):1: syntax error, unexpected ')'
        from /home/naruse/local/ruby/bin/irb:12:in `<main>'

----------------------------------------
Bug #3456: bisarre comma
http://redmine.ruby-lang.org/issues/3456

Author: Shyouhei Urabe
Status: Assigned
Priority: Normal
Assignee: Yukihiro Matsumoto
Category: core
Target version: 1.9.x
ruby -v: -


=begin
 ???????????????????????????????????????????以?????????????? , ???1.9系??Syntax OK???????????????????????
 
 % ruby -wcve 'x y , ;' 
 ruby 1.8.8dev (2010-06-15 revision 27061) [x86_64-linux]
 -e:1: syntax error, unexpected ';'
 % ruby -wcve 'x y , ;'   
 ruby 1.9.3dev (2010-06-19 trunk 28363) [x86_64-linux]
 Syntax OK
=end



-- 
http://redmine.ruby-lang.org