mirror of
https://github.com/leafo/moonscript.git
synced 2025-01-09 00:04:22 +00:00
delete invalid test
This commit is contained in:
parent
5461bd179b
commit
ec35fc03d2
@ -3,8 +3,6 @@ hi = [x*2 for _, x in ipairs{1,2,3,4}]
|
|||||||
|
|
||||||
items = {1,2,3,4,5,6}
|
items = {1,2,3,4,5,6}
|
||||||
|
|
||||||
mm = [@x for @x in ipairs items]
|
|
||||||
|
|
||||||
[z for z in ipairs items when z > 4]
|
[z for z in ipairs items when z > 4]
|
||||||
|
|
||||||
rad = [{a} for a in ipairs {
|
rad = [{a} for a in ipairs {
|
||||||
|
@ -21,16 +21,6 @@ local items = {
|
|||||||
5,
|
5,
|
||||||
6
|
6
|
||||||
}
|
}
|
||||||
local mm
|
|
||||||
do
|
|
||||||
local _accum_0 = { }
|
|
||||||
local _len_0 = 1
|
|
||||||
for self.x in ipairs(items) do
|
|
||||||
_accum_0[_len_0] = self.x
|
|
||||||
_len_0 = _len_0 + 1
|
|
||||||
end
|
|
||||||
mm = _accum_0
|
|
||||||
end
|
|
||||||
for z in ipairs(items) do
|
for z in ipairs(items) do
|
||||||
if z > 4 then
|
if z > 4 then
|
||||||
local _ = z
|
local _ = z
|
||||||
|
Loading…
Reference in New Issue
Block a user