Created
April 29, 2019 19:47
-
-
Save viluon/16cbc5e7e951496e5f7c4022fa980f84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local upvalue = {} | |
local x = {} | |
local ns = {} | |
local index = 1 | |
function ns.inner() | |
return upvalue() | |
end | |
function ns.outer() | |
local something = 3 | |
x[index] = ns.inner() | |
end | |
ns.outer() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment