Hi,

In message "warning: ambiguous first argument; put parentheses or even spaces"
    on Thu, 2 Sep 2004 15:18:30 +0900, John Carter <john.carter / tait.co.nz> writes:
|
|I'm a little confused by this message...
|
|ruby --version;ruby -we 'A=1;B=2;C=3;D=A -(B-C);p D'
|ruby 1.9.0 (2004-07-14) [i686-linux]
|-e:1: warning: ambiguous first argument; put parentheses or even spaces
|-e:1: undefined method `A' for main:Object (NoMethodError)

It's sort of difficulties for Ruby parser to tell 

  D=A -(B-C)

as

  D=A(-(B-C))

or

  D=A-(B-C)

Be nice, please.

							matz.