From: Shyouhei Urabe Date: 2008-08-13T17:33:42+09:00 Subject: [ruby-dev:35840] [Bug #432] func (x,y) Bug #432: func (x,y) http://redmine.ruby-lang.org/issues/show/432 起票者: Shyouhei Urabe ステータス: Open, 優先度: Normal 以下のコードがparse errorです。 % ~/target/trunk/bin/ruby -ve 'p (1,2)' ruby 1.9.0 (2008-08-13 revision 17576) [x86_64-linux] -e:1: syntax error, unexpected ',', expecting ')' p (1,2) ^ -e:1: warning: useless use of a literal in void context もちろん1.8では通ります。 % ~/target/branches/ruby_1_8/bin/ruby -ve 'p (1,2)' ruby 1.8.7 (2008-08-12 revision 17572) [x86_64-linux] -e:1: warning: don't put space before argument parentheses 1 2 ---------------------------------------- http://redmine.ruby-lang.org