1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
semantic/test/fixtures/ruby/multiple-assignments.A.rb
2017-07-06 12:56:16 -07:00

9 lines
136 B
Ruby

x, y, z = [10, 20, 30]
x, y = [1, 2]
x, * = [1, 2]
x, *args = [1, 2]
x, y = *foo
self.foo, self.bar = target.a?, target.b
(x, y) = foo