Skip to content

Fix https://github.com/JustAPerson/lbi/issues/3#4

Open
Liverus wants to merge 1 commit intoJustAPerson:masterfrom
Liverus:master
Open

Fix https://github.com/JustAPerson/lbi/issues/3#4
Liverus wants to merge 1 commit intoJustAPerson:masterfrom
Liverus:master

Conversation

@Liverus
Copy link
Copy Markdown

@Liverus Liverus commented Apr 6, 2025

Rudimentary fix for this issue.

Program:

local functions = {}
for i = 1, 10 do
    functions[i] = function()
        print(i)
    end
end
functions[2]()
functions[9]()

Output:

2
9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant