summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/whitequark/forward_arg_with_open_args.txt
blob: fd4c06bcb5a698bc7a3574f9bdb4937f3d3941c5 (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
(def foo ...
  bar(...)
end)

(def foo ...; bar(...); end)

def foo ...
end

def foo ...; bar(...); end

def foo a, ...
  bar(...)
end

def foo a, ...; bar(...); end

def foo a, b = 1, ...
end

def foo b = 1, ...
  bar(...)
end

def foo b = 1, ...; bar(...); end

def foo(a, ...) bar(...) end