Project

General

Profile

Actions

Feature #8190

closed

Truly parallel assignment

Added by Lavir_the_Whiolet (Lavir the Whiolet) over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Target version:
-
[ruby-core:<unknown>]

Description

=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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0