summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/while.txt
blob: b776f755eeb7984c6ffc527549ff94c6745e6045 (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

tap { break while true }

tap { next while true }

return while true

foo :a, :b while bar?

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

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

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

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

while def foo = bar do end; end

foo while bar in baz