[ruby-talk:02499] Change in parse of parameters

From: Dave Thomas <Dave@...>
Date: 2000-04-17 16:19:37 UTC
List: ruby-talk #2499
I notice that in the latest build,

  puts (1) + 2

now parses as ((puts(1))+2), whereas in the previous version it was

  puts ((1)+2)

The previous version differentiated the case where there was a space
after the method name.

In Ruby 1.6, will 'puts (1)' be parsed as 'puts(1)'?

In This Thread

Prev Next