From: Tomas Matousek Date: 2009-03-19T16:27:28+09:00 Subject: [ruby-core:22948] [Bug #1303] A name considered a local variable on RHS of an assignment that defines it 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