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.
This commit is contained in:
Roberto Ierusalimschy
2019-08-20 13:42:26 -03:00
parent 5bc47fe830
commit be78aeae4c
10 changed files with 23 additions and 17 deletions

View File

@@ -313,6 +313,7 @@ local function checkwarn (msg)
end
end
warn("@on")
do print("testing errors in __close")