From: Paul Brannan Date: 2001-07-12T22:22:23+09:00 Subject: [ruby-talk:17717] Re: Ruby warnings > def foo(x); x + 2; end > p foo(( 4 + 6 ) / 2) #=> 7 > p foo ( 4 + 6 ) / 2 #=> 6 ( warning! ) > > make sense? I think someone would have more essential example. Yes, thanks, that does make sense. However, while: p foo (4 + 6) / 2 produces a warning, so does: p foo (4 + 6) The difference here is that while the first one could possibly be interpreted as (foo(10)/2) or (foo(5)), the second could only be interpreted as (foo(10)). Perhaps, though, the warning is still good, because I might always want to add a /2 later. Paul