Fix error message when setting an invalid member (#99)
Some checks are pending
unit-test / unit-test (push) Waiting to run

This commit is contained in:
Kaan 2026-10-19 14:06:53 +03:00 • committed by GitHub
parent 86dee3c87c
commit a4151bd41e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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