Multi assignment has the wrong return value #1765

Closed
alex opened this Issue Jun 2, 2012 · 0 comments

Comments

Projects
None yet
2 participants

alex commented Jun 2, 2012

alex@alex-gaynor-laptop:~/projects$ ruby-1.9.3-p125 -e "puts (a = (b, c = [3, 4, 5]))"
3
4
5
alex@alex-gaynor-laptop:~/projects$ rbx-head -X19 -e "puts (a = (b, c = [3, 4, 5]))"
true
alex@alex-gaynor-laptop:~/projects$ jruby-head --1.9 -e "puts (a = (b, c = [3, 4, 5]))"
3
4
5

leocassarani added a commit to leocassarani/rubinius that referenced this issue Apr 29, 2013

@ghost ghost assigned leocassarani Apr 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment