On 1/24/06, Daniel Sche <uval / rz.uni-karlsruhe.de> wrote: > because of ( > > I would also expect either a SyntaxError or correct result (3) > > the latter seems more natural to me A SyntaxError here may seem unnatural for Ruby syntax rules. * Expressions ("1+2", "obj.foo()") are statements. * Statements can be separated by ";" or line ends. * Parenthesized expressions may contain assignments separated by line ends. So there is no ground for a syntax error in these cases. Adriano.