diff options
-rw-r--r-- | spec/inputs/unicode/vararg.yue | 8 | ||||
-rw-r--r-- | spec/inputs/vararg.yue | 8 | ||||
-rw-r--r-- | spec/outputs/unicode/vararg.lua | 19 | ||||
-rw-r--r-- | spec/outputs/vararg.lua | 19 |
4 files changed, 0 insertions, 54 deletions
diff --git a/spec/inputs/unicode/vararg.yue b/spec/inputs/unicode/vararg.yue index 5e7f3c4..e59e114 100644 --- a/spec/inputs/unicode/vararg.yue +++ b/spec/inputs/unicode/vararg.yue | |||
@@ -67,14 +67,6 @@ | |||
67 | 打印 ... | 67 | 打印 ... |
68 | 68 | ||
69 | do | 69 | do |
70 | ... = 1, 2 if true | ||
71 | 打印 ... | ||
72 | |||
73 | do | ||
74 | 变量a, ... = 1, 2 unless true | ||
75 | 打印 变量a, select '#', ... | ||
76 | |||
77 | do | ||
78 | ... = switch 变量x when 1 | 70 | ... = switch 变量x when 1 |
79 | with 表 | 71 | with 表 |
80 | .变量x = 123 | 72 | .变量x = 123 |
diff --git a/spec/inputs/vararg.yue b/spec/inputs/vararg.yue index 91d0b16..941cd97 100644 --- a/spec/inputs/vararg.yue +++ b/spec/inputs/vararg.yue | |||
@@ -67,14 +67,6 @@ join = (...) -> | |||
67 | print ... | 67 | print ... |
68 | 68 | ||
69 | do | 69 | do |
70 | ... = 1, 2 if true | ||
71 | print ... | ||
72 | |||
73 | do | ||
74 | a, ... = 1, 2 unless true | ||
75 | print a, select '#', ... | ||
76 | |||
77 | do | ||
78 | ... = switch x when 1 | 70 | ... = switch x when 1 |
79 | with tb | 71 | with tb |
80 | .x = 123 | 72 | .x = 123 |
diff --git a/spec/outputs/unicode/vararg.lua b/spec/outputs/unicode/vararg.lua index 782bf22..41d1bfd 100644 --- a/spec/outputs/unicode/vararg.lua +++ b/spec/outputs/unicode/vararg.lua | |||
@@ -250,25 +250,6 @@ _u8fde_u63a5 = function(...) | |||
250 | (function(...) | 250 | (function(...) |
251 | return _u6253_u5370(...) | 251 | return _u6253_u5370(...) |
252 | end)((function() | 252 | end)((function() |
253 | if true then | ||
254 | return 1, 2 | ||
255 | end | ||
256 | end)()) | ||
257 | end | ||
258 | do | ||
259 | (function(_arg_0, ...) | ||
260 | local _u53d8_u91cfa = _arg_0 | ||
261 | return _u6253_u5370(_u53d8_u91cfa, select('#', ...)) | ||
262 | end)((function() | ||
263 | if not true then | ||
264 | return 1, 2 | ||
265 | end | ||
266 | end)()) | ||
267 | end | ||
268 | do | ||
269 | (function(...) | ||
270 | return _u6253_u5370(...) | ||
271 | end)((function() | ||
272 | local _exp_0 = _u53d8_u91cfx | 253 | local _exp_0 = _u53d8_u91cfx |
273 | if 1 == _exp_0 then | 254 | if 1 == _exp_0 then |
274 | local _with_0 = _u8868 | 255 | local _with_0 = _u8868 |
diff --git a/spec/outputs/vararg.lua b/spec/outputs/vararg.lua index d5a6f03..ea40da1 100644 --- a/spec/outputs/vararg.lua +++ b/spec/outputs/vararg.lua | |||
@@ -250,25 +250,6 @@ join = function(...) | |||
250 | (function(...) | 250 | (function(...) |
251 | return print(...) | 251 | return print(...) |
252 | end)((function() | 252 | end)((function() |
253 | if true then | ||
254 | return 1, 2 | ||
255 | end | ||
256 | end)()) | ||
257 | end | ||
258 | do | ||
259 | (function(_arg_0, ...) | ||
260 | local a = _arg_0 | ||
261 | return print(a, select('#', ...)) | ||
262 | end)((function() | ||
263 | if not true then | ||
264 | return 1, 2 | ||
265 | end | ||
266 | end)()) | ||
267 | end | ||
268 | do | ||
269 | (function(...) | ||
270 | return print(...) | ||
271 | end)((function() | ||
272 | local _exp_0 = x | 253 | local _exp_0 = x |
273 | if 1 == _exp_0 then | 254 | if 1 == _exp_0 then |
274 | local _with_0 = tb | 255 | local _with_0 = tb |