summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/while.txt
blob: eecfbfdddd0c96d1a5055bd1e9d72575a6a31d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
while true; 1; end

1 while true

break while true

next while true

return while true

foo :a, :b while bar?

while def self.foo a = tap do end; end; break; end

while class Foo a = tap do end; end; break; end

while class << self; tap do end; end; break; end

while class << self; a = tap do end; end; break; end

while def foo = bar do end; end

foo while bar in baz