diff options
author | Li Jin <dragon-fly@qq.com> | 2024-03-21 15:42:54 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2024-03-21 15:42:54 +0800 |
commit | 4e3656da3711fd045fdf90dec7084bd4556c5b7f (patch) | |
tree | 5030227e4b3b18d8b906077f7ffc6b5844152978 /spec/outputs/upvalue_func.lua | |
parent | 4a3cc26c6dfd74e61c8b6480038d6a292ea86e47 (diff) | |
download | yuescript-0.23.2.tar.gz yuescript-0.23.2.tar.bz2 yuescript-0.23.2.zip |
remove one more redundant 'do' block from try-catch.v0.23.2
Diffstat (limited to 'spec/outputs/upvalue_func.lua')
-rw-r--r-- | spec/outputs/upvalue_func.lua | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/spec/outputs/upvalue_func.lua b/spec/outputs/upvalue_func.lua index 14fe400..5113692 100644 --- a/spec/outputs/upvalue_func.lua +++ b/spec/outputs/upvalue_func.lua | |||
@@ -368,11 +368,9 @@ local _anon_func_18 = function(print, select, _arg_0, ...) | |||
368 | end | 368 | end |
369 | end | 369 | end |
370 | local _anon_func_19 = function(print) | 370 | local _anon_func_19 = function(print) |
371 | do | 371 | local a = 1 |
372 | local a = 1 | 372 | print(a + nil) |
373 | print(a + nil) | 373 | return 1, 2, 3 |
374 | return 1, 2, 3 | ||
375 | end | ||
376 | end | 374 | end |
377 | local _anon_func_20 = function(cond, i) | 375 | local _anon_func_20 = function(cond, i) |
378 | local _accum_0 = { } | 376 | local _accum_0 = { } |
@@ -516,11 +514,9 @@ local _anon_func_29 = function(os, _arg_0, ...) | |||
516 | end | 514 | end |
517 | end | 515 | end |
518 | local _anon_func_30 = function(debug_env_after, debug_env_before, env, func) | 516 | local _anon_func_30 = function(debug_env_after, debug_env_before, env, func) |
519 | do | 517 | debug_env_before(env) |
520 | debug_env_before(env) | 518 | func(env) |
521 | func(env) | 519 | return debug_env_after(env) |
522 | return debug_env_after(env) | ||
523 | end | ||
524 | end | 520 | end |
525 | do | 521 | do |
526 | local buff_strength | 522 | local buff_strength |