Hi,

In message "Re: argument parenths"
    on Sat, 6 Nov 2004 22:38:16 +0900, Brian Candler <B.Candler / pobox.com> writes:

|Are you talking about the warning you get if you do
|  method (1, 2, 3)
|instead of
|  method(1, 2, 3)
|?

Yes.

|Trying a few combinations with more than one argument:
|
|1.  puts (a+b), c    works - no warning is generated
|2.  puts(a+b), c     fails
|3.  puts(a+b, c)     works - no warning
|4.  puts (a+b, c)    works - but generates a warning
|5.  puts (a+b)       works - no warning
|6.  puts(a+b)        works - no warning
|
|So I'm not exactly sure why case 4 generates a warning, but case 5 doesn't.
|In case 4, the brackets contain a comma, so surely it must be an argument
|list, and therefore must be associated with the method name before it?

Hmm, I had extended syntax rules little by little, so that the
argument warning behavior might be inconsistent.  I will revisit it
soon.

							matz.