File tree Expand file tree Collapse file tree 15 files changed +150
-92
lines changed Expand file tree Collapse file tree 15 files changed +150
-92
lines changed Original file line number Diff line number Diff line change 136
136
end
137
137
local b
138
138
if not false then
139
- if x then
140
- b = 1
141
- end
139
+ b = ((function ()
140
+ if x then
141
+ return 1
142
+ end
143
+ end )())
142
144
end
143
145
local _close_0
144
146
if (function ()
164
166
end )(pcall (function ()
165
167
local c
166
168
if true then
167
- local _exp_0 = x
168
- if " abc" == _exp_0 then
169
- c = 998
170
- end
169
+ c = ((function ()
170
+ local _exp_0 = x
171
+ if " abc" == _exp_0 then
172
+ return 998
173
+ end
174
+ end )())
171
175
end
172
176
local d
173
177
if (function ()
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ local _anon_func_2 = function(tb)
8
8
return tb .func ()
9
9
end
10
10
local _anon_func_3 = function (tb )
11
- return tb .func ()
11
+ return ( tb .func () )
12
12
end
13
13
local _anon_func_4 = function (tb )
14
- return tb :func (1 , 2 , 3 )
14
+ return ( tb :func (1 , 2 , 3 ) )
15
15
end
16
16
local _anon_func_5 = function (tb )
17
17
return tb .func (1 )
@@ -64,7 +64,7 @@ f = function()
64
64
print (" OK" )
65
65
end
66
66
if xpcall (function ()
67
- return func (1 )
67
+ return ( func (1 ) )
68
68
end , function (err )
69
69
return print (err )
70
70
end ) then
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ local x
36
36
do
37
37
local f = getHandler ()
38
38
if f then
39
- do
39
+ x = (( function ()
40
40
f ()
41
- x = 123
42
- end
41
+ return 123
42
+ end )())
43
43
end
44
44
end
45
45
local _anon_func_0 = function (print )
Original file line number Diff line number Diff line change 56
56
end
57
57
local b
58
58
if not false then
59
- if x then
60
- b = 1
61
- end
59
+ b = ((function ()
60
+ if x then
61
+ return 1
62
+ end
63
+ end )())
62
64
end
63
65
local _close_0 <close> = b
64
66
local c
65
67
if true then
66
- local _exp_0 = x
67
- if " abc" == _exp_0 then
68
- c = 998
69
- end
68
+ c = ((function ()
69
+ local _exp_0 = x
70
+ if " abc" == _exp_0 then
71
+ return 998
72
+ end
73
+ end )())
70
74
end
71
75
local d
72
76
if (function ()
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ local t = {
32
32
}
33
33
return function (y , k )
34
34
if y == nil then
35
- do
35
+ y = (( function ()
36
36
x = 10 + 2
37
- y = x
38
- end
37
+ return x
38
+ end )())
39
39
end
40
40
if k == nil then
41
41
do
Original file line number Diff line number Diff line change @@ -239,9 +239,11 @@ x = 0
239
239
local _list_0 = values
240
240
for _index_0 = 1 , # _list_0 do
241
241
local v = _list_0 [_index_0 ]
242
- if ntype (v ) == " fndef" then
243
- _ = x + 1
244
- end
242
+ _ = ((function ()
243
+ if ntype (v ) == " fndef" then
244
+ return x + 1
245
+ end
246
+ end )())
245
247
end
246
248
hello = {
247
249
something = world ,
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ local _anon_func_2 = function(tb)
8
8
return tb .func ()
9
9
end
10
10
local _anon_func_3 = function (tb )
11
- return tb .func ()
11
+ return ( tb .func () )
12
12
end
13
13
local _anon_func_4 = function (tb )
14
- return tb :func (1 , 2 , 3 )
14
+ return ( tb :func (1 , 2 , 3 ) )
15
15
end
16
16
local _anon_func_5 = function (tb )
17
17
return tb .func (1 )
@@ -64,7 +64,7 @@ f = function()
64
64
print (" OK" )
65
65
end
66
66
if xpcall (function ()
67
- return func (1 )
67
+ return ( func (1 ) )
68
68
end , function (err )
69
69
return print (err )
70
70
end ) then
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ local _u53d8_u91cfx
36
36
do
37
37
local _u51fd_u6570 = _u83b7_u53d6_u5904_u7406_u51fd_u6570 ()
38
38
if _u51fd_u6570 then
39
- do
39
+ _u53d8_u91cfx = (( function ()
40
40
_u51fd_u6570 ()
41
- _u53d8_u91cfx = 123
42
- end
41
+ return 123
42
+ end )())
43
43
end
44
44
end
45
45
local _anon_func_0 = function (_u6253_u5370 )
Original file line number Diff line number Diff line change 48
48
end
49
49
local _u5173_u95ed_u53d8_u91cfb
50
50
if not false then
51
- if _u6761_u4ef6x then
52
- _u5173_u95ed_u53d8_u91cfb = 1
53
- end
51
+ _u5173_u95ed_u53d8_u91cfb = ((function ()
52
+ if _u6761_u4ef6x then
53
+ return 1
54
+ end
55
+ end )())
54
56
end
55
57
local _close_0 <close> = _u5173_u95ed_u53d8_u91cfb
56
58
local _u5e38_u91cfc
57
59
if true then
58
- local _exp_0 = _u6761_u4ef6x
59
- if " abc" == _exp_0 then
60
- _u5e38_u91cfc = 998
61
- end
60
+ _u5e38_u91cfc = ((function ()
61
+ local _exp_0 = _u6761_u4ef6x
62
+ if " abc" == _exp_0 then
63
+ return 998
64
+ end
65
+ end )())
62
66
end
63
67
local _u5173_u95ed_u53d8_u91cfd
64
68
if (function ()
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ local _u53d8_u91cft = {
32
32
}
33
33
return function (_u53c2_u6570y , _u53c2_u6570k )
34
34
if _u53c2_u6570y == nil then
35
- do
35
+ _u53c2_u6570y = (( function ()
36
36
_u53d8_u91cfx = 10 + 2
37
- _u53c2_u6570y = _u53d8_u91cfx
38
- end
37
+ return _u53d8_u91cfx
38
+ end )())
39
39
end
40
40
if _u53c2_u6570k == nil then
41
41
do
You can’t perform that action at this time.
0 commit comments