From: "Sean E. Russell" Date: 2004-11-08T21:16:25+09:00 Subject: Re: argument parenths --nextPart2670654.qBVxjuoydQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 07 November 2004 21:20, Yukihiro Matsumoto wrote: > on Sat, 6 Nov 2004 22:38:16 +0900, Brian Candler =20 > writes:=20 =2E.. > |4. puts (a+b, c) works - but generates a warning > |5. puts (a+b) works - no warning =2E.. > |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. While I, personally, wasn't happy with the addition of the warnings, the ru= les=20 _are_ consistent, which is nice. =2D-=20 ### SER =20 ### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido ### http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737=20 ### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg --nextPart2670654.qBVxjuoydQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBj2OUP0KxygnleI8RAuuLAJ4ro59TZHTlFUalYYvXYmioVrxQ2QCdHA+1 TcuAtQHJn+TraS8PZSKQpbA= =dv0p -----END PGP SIGNATURE----- --nextPart2670654.qBVxjuoydQ--