From: Mark Hubbart Date: 2004-04-08T03:06:59+09:00 Subject: Re: Ruby 2.0 and "warning: don't put space before argument parentheses" On Apr 7, 2004, at 10:44 AM, Its Me wrote: > Will 2.0 stop issuing this warning for > > x.foo ( arg ) > > It affects a very common code style. > > How about 1.8.x ? As of semi-latest 1.9, at least, there is no warning issued, but I think that the results might not be what you expect: mark@imac% ruby -vwe'puts(0..9).to_a.join; puts (0..9).to_a.join(":")' ruby 1.6.8 (2002-12-24) [powerpc-darwin7.0] -e:1: warning: puts (...) interpreted as method call 0..9 0..9 mark@imac% ruby -vwe'puts(0..9).to_a.join; puts (0..9).to_a.join(":")' ruby 1.9.0 (2004-02-21) [powerpc-darwin] -e:1: warning: (...) interpreted as grouped expression 0..9 0:1:2:3:4:5:6:7:8:9 Apparently putting a space there was deprecated because it was marked for a change. --Mark