In article <20030321231000.GA65019 / uk.tiscali.com>,
  Brian Candler <B.Candler / pobox.com> writes:

> Seems to be same as:  e6 = (1; +2)

The position before `;' is void context.
And `1' is a literal which has clearly no side effect.

Why Ruby doesn't warn it as toplevel?

% ruby -w -e '1'      
-e:1: warning: useless use of a literal in void context
-- 
Tanaka Akira