Module:No globals: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(setting doesn't need exception for name) |
m (8 revisions imported from wikipedia:Module:No_globals) |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1:
local mt = getmetatable(_G) or {}
function mt.__index (t, k)
if
error('Tried to read nil global ' .. tostring(k), 2)
end
|
Latest revision as of 21:05, 13 May 2021
Documentation for this module may be created at Module:No globals/doc