Module std.strict

Checks uses of undeclared global variables.

All global variables must be 'declared' through a regular assignment (even assigning nil will do) in a top-level chunk before being used anywhere or assigned to inside a function. From Lua distribution (etc/strict.lua).

Functions

__index () Detect derefrence of undeclared global.
__newindex () Detect assignment to undeclared global.


Functions

__index ()
Detect derefrence of undeclared global.
__newindex ()
Detect assignment to undeclared global.
generated by LDoc 1.4.0