diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-07-08 13:33:57 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-07-08 13:33:57 -0300 |
| commit | 942c10a5e33811a08a290ec15031c950a6d17c99 (patch) | |
| tree | 114395a69857609bdd6c220f85476812f0fd5fb1 /testes/bwcoercion.lua | |
| parent | 848568790826b7e201f84682185b5b605c473016 (diff) | |
| download | lua-942c10a5e33811a08a290ec15031c950a6d17c99.tar.gz lua-942c10a5e33811a08a290ec15031c950a6d17c99.tar.bz2 lua-942c10a5e33811a08a290ec15031c950a6d17c99.zip | |
Optional initialization for global declarations
Diffstat (limited to 'testes/bwcoercion.lua')
| -rw-r--r-- | testes/bwcoercion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/bwcoercion.lua b/testes/bwcoercion.lua index cd735ab0..0544944d 100644 --- a/testes/bwcoercion.lua +++ b/testes/bwcoercion.lua | |||
| @@ -4,7 +4,7 @@ local strsub = string.sub | |||
| 4 | 4 | ||
| 5 | local print = print | 5 | local print = print |
| 6 | 6 | ||
| 7 | _ENV = nil | 7 | global none |
| 8 | 8 | ||
| 9 | -- Try to convert a value to an integer, without assuming any coercion. | 9 | -- Try to convert a value to an integer, without assuming any coercion. |
| 10 | local function toint (x) | 10 | local function toint (x) |
