aboutsummaryrefslogtreecommitdiff
path: root/testes/memerr.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Global initialization checks name conflictRoberto I2025-11-081-2/+2
| | | | | Initialization "global a = 10" raises an error if global 'a' is already defined, that is, it has a non-nil value.
* Vertical bar removed from syntax of vararg tableRoberto I2025-10-301-2/+2
| | | | | | The syntax 'function foo (a, b, ...arg)' is already used by JavaScript for this same semantics, so it seems natural to use the same notation in Lua.
* Two new memory testsRoberto I2025-10-121-9/+33
| | | | For external strings and for vararg tables.
* Removed copyright notice from 'testes/all.lua'Roberto Ierusalimschy2025-03-121-1/+1
| | | | All test files refer to the main copyright notice in 'lua.h'.
* New test file 'memerr.lua'Roberto Ierusalimschy2025-03-121-0/+266
Tests for memory-allocation errors moved from 'api.lua' to this new file, as 'api.lua' was already too big. (Besides, these tests have nothing to do with the API.)