diff options
Diffstat (limited to 'spec/outputs')
| -rw-r--r-- | spec/outputs/5.1/attrib.lua | 15 | ||||
| -rw-r--r-- | spec/outputs/upvalue_func.lua | 16 |
2 files changed, 9 insertions, 22 deletions
diff --git a/spec/outputs/5.1/attrib.lua b/spec/outputs/5.1/attrib.lua index af3f6cc..0edaf0e 100644 --- a/spec/outputs/5.1/attrib.lua +++ b/spec/outputs/5.1/attrib.lua | |||
| @@ -62,10 +62,7 @@ local _anon_func_1 = function(io) | |||
| 62 | _with_0:write("Hello") | 62 | _with_0:write("Hello") |
| 63 | return _with_0 | 63 | return _with_0 |
| 64 | end | 64 | end |
| 65 | local _anon_func_2 = function() | 65 | local _anon_func_2 = function() end |
| 66 | do | ||
| 67 | end | ||
| 68 | end | ||
| 69 | do | 66 | do |
| 70 | local v = (function() | 67 | local v = (function() |
| 71 | if flag then | 68 | if flag then |
| @@ -123,10 +120,7 @@ local _anon_func_5 = function(a, b) | |||
| 123 | } | 120 | } |
| 124 | end | 121 | end |
| 125 | end | 122 | end |
| 126 | local _anon_func_7 = function() | 123 | local _anon_func_7 = function() end |
| 127 | do | ||
| 128 | end | ||
| 129 | end | ||
| 130 | do | 124 | do |
| 131 | local a = (function() | 125 | local a = (function() |
| 132 | if true then | 126 | if true then |
| @@ -244,10 +238,7 @@ local _anon_func_11 = function(_, _close_2, error, _arg_0, ...) | |||
| 244 | end | 238 | end |
| 245 | end | 239 | end |
| 246 | end | 240 | end |
| 247 | local _anon_func_12 = function() | 241 | local _anon_func_12 = function() end |
| 248 | do | ||
| 249 | end | ||
| 250 | end | ||
| 251 | do | 242 | do |
| 252 | local _ = def(function() | 243 | local _ = def(function() |
| 253 | return print(3) | 244 | return print(3) |
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 |
