Lenient

Developers simply interested in using the Lua++ compiler can use --!lenient to disable the strict type checker. Although using this macro is strongly discouraged as it will make code management much more difficult, it could be helpful when looking to compile basic Lua scripts that can be run on the Lua++ VM.

--!lenient

local v = 100     -- no error because macro is defined
print(v)

Last updated