aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/destructure_defaults.lua
blob: 938d9b26c93897f965758ed67da0c1f2f5d8affd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local t = {
	a = 1,
	b = {
		c = 3
	},
	d = nil
}
local a, c, d, e = t.a, t.b.c, t.b.d, t.e
if d == nil then
	d = 4
end
if e == nil then
	e = 5
end
return print(a, c, d, e)