diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-08-20 13:42:26 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-08-20 13:42:26 -0300 |
commit | be78aeae4c429d7d68af3a3e1b0cf8e52fcff160 (patch) | |
tree | e81d25014e238f589997f109ba10a875c3a875dc /testes/locals.lua | |
parent | 5bc47fe83087e0686f4639d031801837846e4c65 (diff) | |
download | lua-be78aeae4c429d7d68af3a3e1b0cf8e52fcff160.tar.gz lua-be78aeae4c429d7d68af3a3e1b0cf8e52fcff160.tar.bz2 lua-be78aeae4c429d7d68af3a3e1b0cf8e52fcff160.zip |
Default for warnings changed to "off"
Warnings are mostly a tool to help developers (e.g., by showing hidden
error messages); regular users usually don't need to see them.
Diffstat (limited to 'testes/locals.lua')
-rw-r--r-- | testes/locals.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testes/locals.lua b/testes/locals.lua index b4de523d..58ad18cc 100644 --- a/testes/locals.lua +++ b/testes/locals.lua | |||
@@ -313,6 +313,7 @@ local function checkwarn (msg) | |||
313 | end | 313 | end |
314 | end | 314 | end |
315 | 315 | ||
316 | warn("@on") | ||
316 | 317 | ||
317 | do print("testing errors in __close") | 318 | do print("testing errors in __close") |
318 | 319 | ||