Skip to content

Commit

Permalink
fix spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Aug 17, 2023
1 parent e61cce2 commit b0c4613
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 54 deletions.
8 changes: 0 additions & 8 deletions spec/inputs/unicode/vararg.yue
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@
打印 select "#", ...
打印 ...

do
... = 1, 2 if true
打印 ...

do
变量a, ... = 1, 2 unless true
打印 变量a, select '#', ...

do
... = switch 变量x when 1
with 表
Expand Down
8 changes: 0 additions & 8 deletions spec/inputs/vararg.yue
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ join = (...) ->
print select "#", ...
print ...

do
... = 1, 2 if true
print ...

do
a, ... = 1, 2 unless true
print a, select '#', ...

do
... = switch x when 1
with tb
Expand Down
19 changes: 0 additions & 19 deletions spec/outputs/unicode/vararg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,25 +246,6 @@ _u8fde_u63a5 = function(...)
end)(_u591a_u53c2_u6570_u51fd_u6570())
end)(_u51fd_u6570_u540d(true))
end
do
(function(...)
return _u6253_u5370(...)
end)((function()
if true then
return 1, 2
end
end)())
end
do
(function(_arg_0, ...)
local _u53d8_u91cfa = _arg_0
return _u6253_u5370(_u53d8_u91cfa, select('#', ...))
end)((function()
if not true then
return 1, 2
end
end)())
end
do
(function(...)
return _u6253_u5370(...)
Expand Down
19 changes: 0 additions & 19 deletions spec/outputs/vararg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,25 +246,6 @@ join = function(...)
end)(fn_many_args())
end)(fn(true))
end
do
(function(...)
return print(...)
end)((function()
if true then
return 1, 2
end
end)())
end
do
(function(_arg_0, ...)
local a = _arg_0
return print(a, select('#', ...))
end)((function()
if not true then
return 1, 2
end
end)())
end
do
(function(...)
return print(...)
Expand Down

0 comments on commit b0c4613

Please sign in to comment.