aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/unicode/nil_coalescing.lua
blob: 53e3711e79450c851ef93e15f115fa3e1ee0c62a (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
do
	local _u53d8_u91cfa
	local _exp_0 = _u53d8_u91cfb
	if _exp_0 ~= nil then
		_u53d8_u91cfa = _exp_0
	else
		_u53d8_u91cfa = _u53d8_u91cfc
	end
end
do
	local _u5b57_u6bb5a
	local _exp_0 = _u53d8_u91cfb
	if _exp_0 ~= nil then
		_u5b57_u6bb5a = _exp_0["字段a"]
	else
		_u5b57_u6bb5a = _u53d8_u91cfc["字段a"]
	end
end
do
	local _u53d8_u91cfa = _u51fd_u6570()
	if _u53d8_u91cfa == nil then
		_u53d8_u91cfa = false
	end
end
do
	local _u53d8_u91cfa
	if _u53d8_u91cfa == nil then
		_u53d8_u91cfa = _u51fd_u6570()
	end
end
do
	local _u53d8_u91cfa, _u53d8_u91cfb, _u53d8_u91cfc, _u53d8_u91cfd, _u53d8_u91cfe
	if _u53d8_u91cfb ~= nil then
		_u53d8_u91cfa = _u53d8_u91cfb
	else
		if _u53d8_u91cfc ~= nil then
			_u53d8_u91cfa = _u53d8_u91cfc
		else
			if _u53d8_u91cfd ~= nil then
				_u53d8_u91cfa = _u53d8_u91cfd
			else
				_u53d8_u91cfa = _u53d8_u91cfe
			end
		end
	end
end
do
	local _u53d8_u91cfa
	local _exp_0 = _u53d8_u91cfb
	if _exp_0 ~= nil then
		_u53d8_u91cfa = _exp_0
	else
		do
			local _exp_1 = _u53d8_u91cfc
			if _exp_1 ~= nil then
				_u53d8_u91cfa = _exp_1
			else
				do
					local _exp_2 = _u53d8_u91cfd
					if _exp_2 ~= nil then
						_u53d8_u91cfa = _exp_2
					else
						_u53d8_u91cfa = _u53d8_u91cfe
					end
				end
			end
		end
	end
end
do
	_u51fd_u6570((function()
		local _exp_0 = _u53d8_u91cfx
		if _exp_0 ~= nil then
			return _exp_0
		else
			return "你好"
		end
	end)())
end
do
	local _with_0
	local _exp_0 = _u51fd_u6570A()
	if _exp_0 ~= nil then
		_with_0 = _exp_0
	else
		_with_0 = _u51fd_u6570B()
	end
	_u6253_u5370(_with_0["字段"])
end
do
	local _u53d8_u91cfa = 1 + 2 + (function()
		local _exp_0 = _u53d8_u91cfb
		if _exp_0 ~= nil then
			return _exp_0
		else
			return _u53d8_u91cfc + 3 + 4
		end
	end)()
end
do
	local _u53d8_u91cfa = 1 + 2 + ((function()
		local _exp_0 = _u53d8_u91cfb
		if _exp_0 ~= nil then
			return _exp_0
		else
			return _u53d8_u91cfc
		end
	end)()) + 3 + 4
end
do
	local _u5b57_u6bb5a, _u5b57_u6bb5b
	do
		local _obj_0 = _u51fd_u6570()
		_u5b57_u6bb5a, _u5b57_u6bb5b = _obj_0["字段a"], _obj_0["字段b"]
	end
	local _u53d8_u91cfa = _u53d8_u91cfa or 1
	local _u53d8_u91cfb
	if _u53d8_u91cfb == nil then
		do
			local _exp_0 = _u53d8_u91cfc
			if _exp_0 ~= nil then
				_u53d8_u91cfb = _exp_0
			else
				_u53d8_u91cfb = 2
			end
		end
	end
end
do
	local _u53d8_u91cfa
	local _exp_0 = 1
	if _exp_0 ~= nil then
		_u53d8_u91cfa = _exp_0
	else
		do
			local _exp_1 = 2
			if _exp_1 ~= nil then
				_u53d8_u91cfa = _exp_1
			else
				_u53d8_u91cfa = 3
			end
		end
	end
end
do
	local _obj_0 = _u53d8_u91cfa["字段"]
	if _obj_0["字段"] == nil then
		_obj_0["字段"] = 1
	end
	local _u53d8_u91cfa
	do
		local _exp_0 = _u53d8_u91cfb["字段"]
		if _exp_0 ~= nil then
			_u53d8_u91cfa = _exp_0
		else
			do
				local _exp_1 = _u53d8_u91cfc["字段"]
				if _exp_1 ~= nil then
					_u53d8_u91cfa = _exp_1
				else
					_u53d8_u91cfa = _u53d8_u91cfd["字段"]
				end
			end
		end
	end
	if _u53d8_u91cfa["字段"] == nil then
		_u53d8_u91cfa["字段"] = 1
	end
end
return nil