summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/whitequark/pattern_matching_implicit_array_match.txt
blob: 360c5150a51f93aaff37dba87c91718744a8ae73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
case foo; in * then nil; end

case foo; in *x then nil; end

case foo; in *x, y, z then nil; end

case foo; in 1, "a", [], {} then nil; end

case foo; in x, *y, z then nil; end

case foo; in x, then nil; end

case foo; in x, y then nil; end

case foo; in x, y, then nil; end