Hi,

In message "Re: Ruby 1.9: multiple splats on rvalues in parallel assignment"
    on Thu, 26 Apr 2007 03:07:09 +0900, David Flanagan <david / davidflanagan.com> writes:
|
|I've confirmed this bug against the current trunk:
|
|ruby1.9 -ve 'x,y,z=1,*[2],*[3]; p x,y,z'
|ruby 1.9.0 (2007-04-25 patchlevel 0) [i686-linux]
|[1]
|3
|nil
|
|My question (for Matz or Nobu?) is about the nature of the bug.  In 1.8, 
|this code would be a syntax error, because multiple splats are not 
|allowed on the right-hand side of a parallel assignment.  Has this 
|changed in Ruby 1.9?  Is it supposed to be legal to have multiple 
|splats?  Is the parser allowing something that it shouldn't?  Or is the 
|VM mis-interpreting valid new syntax?

Ruby 1.9 will allow multiple splats in the (argument) list.
Unfortunately, YARV does not support it yet.

							matz.