summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/repeat_parameters.txt
blob: 9c69e9718ad22f931bf27a73aebde1125e86aa13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def foo(a, _)
end

def foo(a, _, _)
end

def foo(a, _, _, _b)
end

def foo(a, _, _, _b, _b)
end

def foo(a, (b, *_c, d), (e, *_c, f))
end

def foo(_a, _a, b, c)
end

def foo((a, *_b, c), (d, *_b, e))
end

def foo(_a = 1, _a = 2)
end

def foo(_a:, _a:)
end

def foo(_a: 1, _a: 2)
end

def foo(_a, **_a)
end

def foo(_a, &_a)
end

def foo(_a, *_a)
end