Anonymous user
Module:No globals: Difference between revisions
setting doesn't need exception for name
(don't bother saving old __index or __newindex) |
(setting doesn't need exception for name) |
||
Line 7:
end
function mt.__newindex(t, k, v)
if
error('Tried to write global ' .. tostring(k), 2)
end
|