Auto strict mode based on optimization level

This commit is contained in:
Aaron Smith 2023-09-20 12:23:51 +01:00
parent 8b4210e66a
commit cc4b390d3d
5 changed files with 31 additions and 28 deletions

View file

@ -9,6 +9,8 @@ local values = vide.values
local cleanup = vide.cleanup
local create = vide.create
assert(not vide.strict)
local function TITLE(name: string)
print()
print(testkit.color.white(name))