<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/errors.lua, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-04-13T17:06:23+00:00</updated>
<entry>
<title>Better error messages for vararg-table fields</title>
<updated>2026-04-13T17:06:23+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-13T17:06:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d0bd25d2e7fb393a6d0a73645a099f9c3b9cc0a8'/>
<id>urn:sha1:d0bd25d2e7fb393a6d0a73645a099f9c3b9cc0a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correction in line info for semantic errors</title>
<updated>2025-11-11T17:36:16+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-11-11T17:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=81f4def54f440e045b1401f11ef78b65b56b7abe'/>
<id>urn:sha1:81f4def54f440e045b1401f11ef78b65b56b7abe</id>
<content type='text'>
Semantic errors should refer the last used token, not the next one.
</content>
</entry>
<entry>
<title>Initialization of too many locals break assertion</title>
<updated>2025-10-10T16:22:19+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-10-10T16:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3347c9d32d4d91b6139bff475c78cf0c4796e2a7'/>
<id>urn:sha1:3347c9d32d4d91b6139bff475c78cf0c4796e2a7</id>
<content type='text'>
The check for limit of local variables is made after generating code to
initialize them. If there are too many local variables not initialized,
the coding of instruction OP_LOADNIL could overflow an argument.
</content>
</entry>
<entry>
<title>No need to limit variable declarations to 250</title>
<updated>2025-06-18T19:45:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-06-18T19:45:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=07b009c3712c062957593d0a4fa82e0fe9023024'/>
<id>urn:sha1:07b009c3712c062957593d0a4fa82e0fe9023024</id>
<content type='text'>
Only local variables, which use registers, need this low limit.
</content>
</entry>
<entry>
<title>Detail</title>
<updated>2025-05-16T18:20:32+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-16T18:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f2c1531e6cacb10926158d8def5fa5841a0f357e'/>
<id>urn:sha1:f2c1531e6cacb10926158d8def5fa5841a0f357e</id>
<content type='text'>
Reports errors with "?:?:" (instead of "?:-1:") when there is no debug
information.
</content>
</entry>
<entry>
<title>New syntax 'global function'</title>
<updated>2025-05-08T14:08:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-08T14:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3f0ea90aa8b8493485637f6e8d2a070a1ac0d5cb'/>
<id>urn:sha1:3f0ea90aa8b8493485637f6e8d2a070a1ac0d5cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Details (typos in comments)</title>
<updated>2025-04-23T14:36:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-04-23T14:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed'/>
<id>urn:sha1:9b014d4bcd4ebadb523f1c1a1d38148d8526e5ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wrong error message when using "_ENV" fields</title>
<updated>2025-03-14T18:16:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-14T18:16:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=94d38560c3095190fa2c868cbf7bcf39ca444568'/>
<id>urn:sha1:94d38560c3095190fa2c868cbf7bcf39ca444568</id>
<content type='text'>
The string "_ENV" is erroneously identified as a variable _ENV,
so that results from a field is classified as a global.
</content>
</entry>
<entry>
<title>'luaD_seterrorobj' should not raise errors</title>
<updated>2025-03-12T18:51:16+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-12T18:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c931d86e98da320c71da70c16d44aa28e9755520'/>
<id>urn:sha1:c931d86e98da320c71da70c16d44aa28e9755520</id>
<content type='text'>
This function can be called unprotected, so it should not raise any
kind of errors. (It could raise a memory-allocation error when creating
a message).
</content>
</entry>
<entry>
<title>Removed copyright notice from 'testes/all.lua'</title>
<updated>2025-03-12T17:00:58+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-12T17:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ab66652b3270b95222dea134b5e47bb3afc434cc'/>
<id>urn:sha1:ab66652b3270b95222dea134b5e47bb3afc434cc</id>
<content type='text'>
All test files refer to the main copyright notice in 'lua.h'.
</content>
</entry>
</feed>
