1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
semantic/test/fixtures/ruby/corpus/multiple-assignments.A.rb
2018-04-18 13:33:17 -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