moonscript/tests/outputs/local.lua

80 lines
886 B
Lua

do
local a
local a, b, c
local g
b, g = 23232
end
do
local x = 1212
local something
something = function()
local x
x = 1212
end
end
do
local y, z
y = 2323
z = 2323
end
do
print("Nothing Here!")
end
do
local X, Y
local x = 3434
local y = 3434
X = 3434
Y = "yeah"
end
do
local x, y = "a", "b"
end
do
local x, y
x, y = "a", "b"
end
do
if something then
local x = 2323
end
end
do
local x
do
x = "one"
end
x = 100
do
x = "two"
end
end
do
local k, x, a, b, c
if what then
k = 10
end
x = 100
do
local _obj_0 = y
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
local a, b, c, d
a = 100
print("hi")
b = 200
c = 100
print("hi")
d = 200
d = 2323
end
do
local _list_0 = { }
for _index_0 = 1, #_list_0 do
local a = _list_0[_index_0]
local _ = a
end
end
local g = 2323