Issue #3922 has been updated by Motohiro KOSAKI.

Status changed from Feedback to Rejected

no progress very long time.
----------------------------------------
Feature #3922: Syntax awkwardness
https://bugs.ruby-lang.org/issues/3922

Author: Lasse Fabisch
Status: Rejected
Priority: Low
Assignee: Yukihiro Matsumoto
Category: core
Target version: 


=begin
 [code]
 1 + (2; 1) #=> 2
 puts(1; 2) #=> syntax error
 puts((1; 2)) # like: puts 2
 puts (3)*2 #=> 6
 puts(3)*2 #=> nil-error
 puts (1; 2) #=> syntax error
 puts (1; 2)*3 #=> syntax error
 puts ((1; 2))*3 # like: puts 6
 [/code]
 
 IMO this is awkward behavior (but maybe it is intended). I think the same results can be achieved with a newline instead of ';'.
=end



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