mirror of
https://github.com/centau/vide.git
synced 2026-10-20 09:24:10 +00:00
Fix error message when setting an invalid member (#99)
Some checks are pending
unit-test / unit-test (push) Waiting to run
Some checks are pending
unit-test / unit-test (push) Waiting to run
This commit is contained in:
parent
86dee3c87c
commit
a4151bd41e
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ setmetatable(vide :: any, {
|
|||
|
||||
__newindex = function(_, index: unknown, value: unknown)
|
||||
if flags[index] == nil then
|
||||
error(`{tostring(index)} is not a valid member of vide, 0`)
|
||||
error(`{tostring(index)} is not a valid member of vide`, 0)
|
||||
else
|
||||
flags[index] = value
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue