diff options
author | Li Jin <dragon-fly@qq.com> | 2024-03-21 09:14:34 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2024-03-21 09:14:34 +0800 |
commit | 4a3cc26c6dfd74e61c8b6480038d6a292ea86e47 (patch) | |
tree | 9554b94cfc15e4acee0c2e60b63af16f1b828207 /spec/outputs/unicode/backcall.lua | |
parent | 80b65520da432843f0c63431a1867bd2620bc4ac (diff) | |
download | yuescript-4a3cc26c6dfd74e61c8b6480038d6a292ea86e47.tar.gz yuescript-4a3cc26c6dfd74e61c8b6480038d6a292ea86e47.tar.bz2 yuescript-4a3cc26c6dfd74e61c8b6480038d6a292ea86e47.zip |
remove redundant 'do' blocks in code generation.
Diffstat (limited to 'spec/outputs/unicode/backcall.lua')
-rw-r--r-- | spec/outputs/unicode/backcall.lua | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/spec/outputs/unicode/backcall.lua b/spec/outputs/unicode/backcall.lua index 91dfdff..f4bd5a3 100644 --- a/spec/outputs/unicode/backcall.lua +++ b/spec/outputs/unicode/backcall.lua | |||
@@ -31,21 +31,19 @@ do | |||
31 | end)()) | 31 | end)()) |
32 | end | 32 | end |
33 | do | 33 | do |
34 | do | 34 | local _obj_0 = _u7f51_u7edc |
35 | local _obj_0 = _u7f51_u7edc | 35 | if _obj_0 ~= nil then |
36 | if _obj_0 ~= nil then | 36 | _obj_0["获取"]("测试地址", function(_u6570_u636e) |
37 | _obj_0["获取"]("测试地址", function(_u6570_u636e) | 37 | local _call_0 = _u7f51_u9875_u4f53[".结果"] |
38 | local _call_0 = _u7f51_u9875_u4f53[".结果"] | 38 | _call_0["网页"](_call_0, _u6570_u636e) |
39 | _call_0["网页"](_call_0, _u6570_u636e) | 39 | return _u7f51_u7edc["请求"]("测试地址", _u6570_u636e, function(_u662f_u5426_u5904_u7406_u6210_u529f) |
40 | return _u7f51_u7edc["请求"]("测试地址", _u6570_u636e, function(_u662f_u5426_u5904_u7406_u6210_u529f) | 40 | local _call_1 = _u7f51_u9875_u4f53[".结果"] |
41 | local _call_1 = _u7f51_u9875_u4f53[".结果"] | 41 | _call_1["添加"](_call_1, _u662f_u5426_u5904_u7406_u6210_u679c) |
42 | _call_1["添加"](_call_1, _u662f_u5426_u5904_u7406_u6210_u679c) | 42 | return _u8bbe_u7f6e_u8d85_u65f6_u56de_u8c03(1000, function() |
43 | return _u8bbe_u7f6e_u8d85_u65f6_u56de_u8c03(1000, function() | 43 | return _u6253_u5370("完成") |
44 | return _u6253_u5370("完成") | ||
45 | end) | ||
46 | end) | 44 | end) |
47 | end) | 45 | end) |
48 | end | 46 | end) |
49 | end | 47 | end |
50 | end | 48 | end |
51 | do | 49 | do |