Last active
June 30, 2018 11:14
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 function good(t) | |
table.sort(t) -- OK, does what you expect | |
end | |
local function bad(table) | |
table.sort(table) -- error, the table doesn't have a field called "sort" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment