From: Tanaka Akira Date: 2003-03-22T19:39:51+09:00 Subject: Re: Expression results In article <20030321231000.GA65019@uk.tiscali.com>, Brian Candler 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