Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enables an ilua feature called "strict mode" in all of our lua environments. This change causes lua to report an error if a global variable is used before it is assigned. The benefits of this are: - Improved maintainability of lua-based add-ons, since you get better error reporting in case of a typo. - Improved behavior of the lua interpreter console, since mistyped or gibberish lines resolve to an error rather than "nil", which the console treats as a legal return value. It is possible to disable this or work around it in individual scripts. For more info see release notes.
- Loading branch information
Showing
3 changed files
with
73 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters