summaryrefslogtreecommitdiff
path: root/spec/inputs/assign.yue
blob: dac2ba3a48933968bcbef9a0b8c5f13a3ee27ae5 (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
28
29
30
31
32
33

_ = ->
	joop = 2302

	(hi) ->
		d = 100
		hi = 1021

		a,b,c,d = 1,2,3,4

		hello[232], (5+5)[121], hello, x[99] = 100, 200, 300

		joop = 12

joop = 2345

a, b = if hello
	"hello"
else
	"nothing", "yeah"


a, b = if hello
	if yeah then "one", "two" else "mmhh"
else
	print "the other"
	"nothing", "yeah"

c, d = 1, 2 if true

x = (do
	f!
	123) if f = getHandler!