<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/errors.lua, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2025-05-15T18:14:56+00:00</updated>
<entry>
<title>Bug: Bad error message with fields of string _ENV</title>
<updated>2025-05-15T18:14:56+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-15T18:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d1ee2a4deb06a335b9ff99530917b828a7ebe3e5'/>
<id>urn:sha1:d1ee2a4deb06a335b9ff99530917b828a7ebe3e5</id>
<content type='text'>
Errors with fields of the string _ENV (e.g., ("_ENV").u + 1) report
the error as comming from a global.
</content>
</entry>
<entry>
<title>Bug: luaL_traceback may need more than 5 stack slots</title>
<updated>2024-06-04T19:40:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-04T19:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=2db966fcbf757775c842bc66449d7e697826aa1d'/>
<id>urn:sha1:2db966fcbf757775c842bc66449d7e697826aa1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: Recursion in 'getobjname' can stack overflow</title>
<updated>2023-11-01T15:00:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-11-01T15:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7923dbbf72da303ca1cca17efd24725668992f15'/>
<id>urn:sha1:7923dbbf72da303ca1cca17efd24725668992f15</id>
<content type='text'>
'getobjname' now broken in two, a basic version that handles locals,
upvalues, and constants, and a full version, which uses the basic
version to handle table accesses (globals and fields).
</content>
</entry>
<entry>
<title>Bug: Wrong line number for function calls</title>
<updated>2023-08-23T16:49:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-08-23T16:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d'/>
<id>urn:sha1:5ab6a5756b3c50c99f1388885e9a48a7da8cbe2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: Wrong line in error message for arith. errors</title>
<updated>2023-02-08T17:15:41+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-02-08T17:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=02bab9fc258fe1cbc6088b1bd61193499d058eff'/>
<id>urn:sha1:02bab9fc258fe1cbc6088b1bd61193499d058eff</id>
<content type='text'>
It also causes 'L-&gt;top' to be wrong when the error happens,
triggering an 'assert'.
</content>
</entry>
<entry>
<title>Avoid excessive name pollution in test files</title>
<updated>2022-12-28T21:34:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-12-28T21:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=314745ed8438d1276c6c928d5f9d4be018dfadb6'/>
<id>urn:sha1:314745ed8438d1276c6c928d5f9d4be018dfadb6</id>
<content type='text'>
Test files are more polite regarding the use of globals when locals
would do, and when globals are necessary deleting them after use.
</content>
</entry>
<entry>
<title>Added tests for string reuse by the scanner</title>
<updated>2021-08-11T14:19:33+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-08-11T14:19:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=59acd79c05b78950fe03279d60b015aeed5348ab'/>
<id>urn:sha1:59acd79c05b78950fe03279d60b015aeed5348ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: luaL_tolstring may get confused with negative index</title>
<updated>2021-07-22T16:48:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-07-22T16:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=439e45a2f69549b674d6a6e2023e8debfa00a2b8'/>
<id>urn:sha1:439e45a2f69549b674d6a6e2023e8debfa00a2b8</id>
<content type='text'>
When object has a '__name' metafield, 'luaL_tolstring' used the
received index after pushing a string on the stack.
</content>
</entry>
<entry>
<title>C functions can be tail called, too</title>
<updated>2021-06-14T16:28:21+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-06-14T16:28:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=04e19712a5d48b84869f9942836ff8314fb0be8e'/>
<id>urn:sha1:04e19712a5d48b84869f9942836ff8314fb0be8e</id>
<content type='text'>
A tail call to a C function can have the behavior of a "real" tail
call, reusing the stack frame of the caller.
</content>
</entry>
<entry>
<title>Wrong assertion in 'getbaseline'</title>
<updated>2021-03-05T15:10:34+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-05T15:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f5df7f91f70234850484d26caf24e71e001e5304'/>
<id>urn:sha1:f5df7f91f70234850484d26caf24e71e001e5304</id>
<content type='text'>
The assertion cannot compute 'f-&gt;abslineinfo[i]' when the initial
estimate 'i' is -1.
</content>
</entry>
</feed>
