From: "marcandre (Marc-Andre Lafortune)" Date: 2013-04-03T11:33:05+09:00 Subject: [ruby-core:53933] [ruby-trunk - Feature #8190] Truly parallel assignment Issue #8190 has been updated by marcandre (Marc-Andre Lafortune). Category set to core Assignee set to matz (Yukihiro Matsumoto) My first reflex would be to say "don't write code like this". Do you have an actual use case? FWIW, CoffeeScript handles this case the same way as MRI does. ---------------------------------------- Feature #8190: Truly parallel assignment https://bugs.ruby-lang.org/issues/8190#change-38145 Author: Lavir_the_Whiolet (Lavir the Whiolet) Status: Open Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: =begin i = 0 s = [1,2,3] i, s[i] =s[i], 7 p s #=> [1, 7, 3] s is expected to be [7, 2, 3]. =end -- http://bugs.ruby-lang.org/