rubyspec/rubyspec — Issue #90: a = b = f 1
Author: BanzaiMan
Created: 2011-11-29 07:28:05+00:00
State: open

In http://jira.codehaus.org/browse/JRUBY-6237 it is noted that 1.9.3 (but not 1.9.2) supports

def f(x); x; end

a = b = f 1

as syntactically valid (and both `a` and `b` will be assigned `f(1)`, naturally).

There should be a spec for this case, but I wasn't sure where it should go.