From: Eric Mahurin Date: 2005-06-03T00:55:43+09:00 Subject: Re: ternary operator confusion --- Caleb Clausen wrote: > Eric Mahurin wrote: > > f (a)+0, b # *** now (a) looks like the args to f *** > > This gives a warning, at least. I wouldn't mind if it was required to have no space between the "f" and the "(" in the f(a,b) form. If that was the case, then the above could be interpreted as the "f a,b" form. That would remove the ambiguity and make the the "f a,b" syntactically cleaner in my opinion. > > respond_to?:test # syntax error, why? > > Works for me.... I was using a 1.9CVS version to test this. I guess it is a bug. __________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html