Skip to content

Commit

Permalink
i AM SschTEWPID
Browse files Browse the repository at this point in the history
  • Loading branch information
howmanysmall committed Mar 19, 2021
1 parent e0a1163 commit 408eac6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/enumerator/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ local enumeratorTuple = t.tuple(
)

local function lockTable(tab, name)
name = name or tostring(tab)

local function protectedFunction(_, key)
error(string.format(
INVALID_MEMBER_ERROR,
tostring(key),
typeof(key),
name
tostring(name)
))
end

Expand Down

0 comments on commit 408eac6

Please sign in to comment.