From: "Mauricio Fernández" Date: 2004-02-13T02:18:41+09:00 Subject: Re: Ruby Warnings On Thu, Feb 12, 2004 at 11:44:15PM +0900, Yukihiro Matsumoto wrote: |So why the warning? > > 'hello '.+ 'world' > > is a form of "recv.message arg", i.e. parentheses around argument are > omitted apparently, and the expression itself is an argument to > "puts". When you use method call as argument, don't omit parentheses, > no exception. This case is a bit unfortunate: def foo(a); a end; puts(foo "a") -:1: warning: parenthesize argument(s) for future version -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com oh okay. my mistake. Yafcot:atj(*), mark * Yet another fool coming over this: according to joey -- mark@mail.novare.net