aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/do.yue
blob: 2fbcbb978c61e685d8504b9da4cedd3db4123880 (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

do
	print "hello"
	print "world"

x = do
	print "hello"
	print "world"

y = do
	things = "shhh"
	-> "hello: " .. things

_ = -> if something then do "yeah"

t = {
	y: do
		number = 100
		(x) -> x + number
}

(y=(do
	x = 10 + 2
	x), k=do
		"nothing") -> do
			"uhhh"