Files
coffeescript/test/fixtures/execution/test_everything.cs
2009-12-24 22:08:32 -08:00

24 lines
282 B
C#

func: =>
a: 3
b: []
while a >= 0
b.push('o')
a--.
c: {
"text": b
}
c: 'error' unless 42 > 41
c.text: if false
'error'
else
c.text + '---'.
c.list: l for l in c.text.split('') if l is '-'.
c.single: c.list[1, 1][0].
print(func() == '-')