Issue #1303 has been updated by Tomas Matousek.


You're basically saying that it's a matter of syntactic structure, not control flow structure and I agree. There is still a choice to be made while parsing the assignment expression: the parser might "visit" RHS first and then define variables in LHS or the other way around. Both options are valid, prioritizing RHS might eliminate some confusion.


----------------------------------------
http://redmine.ruby-lang.org/issues/show/1303

----------------------------------------
http://redmine.ruby-lang.org