summaryrefslogtreecommitdiff
path: root/spec/outputs/assign.lua
blob: 628f763f02ee4f12f084099e0acfa12914f55cf4 (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
34
35
36
37
38
39
40
41
42
43
44
local _
_ = function()
	local joop = 2302
	return function(hi)
		local d = 100
		hi = 1021
		local a, b, c
		a, b, c, d = 1, 2, 3, 4
		local hello
		hello[232], (5 + 5)[121], hello, x[99] = 100, 200, 300
		joop = 12
	end
end
local joop = 2345
local a, b
if hello then
	a, b = "hello"
else
	a, b = "nothing", "yeah"
end
if hello then
	if yeah then
		a, b = "one", "two"
	else
		a, b = "mmhh"
	end
else
	print("the other")
	a, b = "nothing", "yeah"
end
local c, d
if true then
	c, d = 1, 2
end
local x
do
	local f = getHandler()
	if f then
		x = ((function()
			f()
			return 123
		end)())
	end
end