mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
rebuild specs
This commit is contained in:
parent
d85973411f
commit
716f2d53d6
@ -78,7 +78,7 @@ do
|
|||||||
...
|
...
|
||||||
}
|
}
|
||||||
for _index_0 = 1, #_list_0 do
|
for _index_0 = 1, #_list_0 do
|
||||||
x = _list_0[_index_0]
|
local x = _list_0[_index_0]
|
||||||
_accum_0[_len_0] = x
|
_accum_0[_len_0] = x
|
||||||
_len_0 = _len_0 + 1
|
_len_0 = _len_0 + 1
|
||||||
end
|
end
|
||||||
|
@ -41,7 +41,7 @@ do
|
|||||||
local _tbl_0 = { }
|
local _tbl_0 = { }
|
||||||
local _list_0 = yes
|
local _list_0 = yes
|
||||||
for _index_0 = 1, #_list_0 do
|
for _index_0 = 1, #_list_0 do
|
||||||
x = _list_0[_index_0]
|
local x = _list_0[_index_0]
|
||||||
local _key_0, _val_0 = unpack(x)
|
local _key_0, _val_0 = unpack(x)
|
||||||
_tbl_0[_key_0] = _val_0
|
_tbl_0[_key_0] = _val_0
|
||||||
end
|
end
|
||||||
@ -68,7 +68,7 @@ do
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _index_0 = 1, #_list_0 do
|
for _index_0 = 1, #_list_0 do
|
||||||
x = _list_0[_index_0]
|
local x = _list_0[_index_0]
|
||||||
local _key_0, _val_0 = unpack((function()
|
local _key_0, _val_0 = unpack((function()
|
||||||
local _accum_0 = { }
|
local _accum_0 = { }
|
||||||
local _len_0 = 1
|
local _len_0 = 1
|
||||||
|
@ -161,14 +161,14 @@ do
|
|||||||
local _accum_0 = { }
|
local _accum_0 = { }
|
||||||
local _len_0 = 1
|
local _len_0 = 1
|
||||||
for _index_0 = 1, #items do
|
for _index_0 = 1, #items do
|
||||||
x = items[_index_0]
|
local x = items[_index_0]
|
||||||
_accum_0[_len_0] = x * 2
|
_accum_0[_len_0] = x * 2
|
||||||
_len_0 = _len_0 + 1
|
_len_0 = _len_0 + 1
|
||||||
end
|
end
|
||||||
double = _accum_0
|
double = _accum_0
|
||||||
end
|
end
|
||||||
for _index_0 = 1, #double do
|
for _index_0 = 1, #double do
|
||||||
x = double[_index_0]
|
local x = double[_index_0]
|
||||||
print(x)
|
print(x)
|
||||||
end
|
end
|
||||||
local cut
|
local cut
|
||||||
@ -176,7 +176,7 @@ do
|
|||||||
local _accum_0 = { }
|
local _accum_0 = { }
|
||||||
local _len_0 = 1
|
local _len_0 = 1
|
||||||
for _index_0 = 1, #items do
|
for _index_0 = 1, #items do
|
||||||
x = items[_index_0]
|
local x = items[_index_0]
|
||||||
if x > 3 then
|
if x > 3 then
|
||||||
_accum_0[_len_0] = x
|
_accum_0[_len_0] = x
|
||||||
_len_0 = _len_0 + 1
|
_len_0 = _len_0 + 1
|
||||||
@ -189,7 +189,7 @@ do
|
|||||||
local _accum_0 = { }
|
local _accum_0 = { }
|
||||||
local _len_0 = 1
|
local _len_0 = 1
|
||||||
for _index_0 = 1, #items do
|
for _index_0 = 1, #items do
|
||||||
x = items[_index_0]
|
local x = items[_index_0]
|
||||||
for _index_1 = 1, #items do
|
for _index_1 = 1, #items do
|
||||||
local y = items[_index_1]
|
local y = items[_index_1]
|
||||||
_accum_0[_len_0] = x + y
|
_accum_0[_len_0] = x + y
|
||||||
|
@ -62,7 +62,7 @@ do
|
|||||||
end
|
end
|
||||||
x = function()
|
x = function()
|
||||||
for _index_0 = 1, #hello do
|
for _index_0 = 1, #hello do
|
||||||
x = hello[_index_0]
|
local x = hello[_index_0]
|
||||||
local _ = y
|
local _ = y
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user