<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/testes/errors.lua, branch v5.4.4</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/'/>
<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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=59acd79c05b78950fe03279d60b015aeed5348ab'/>
<id>59acd79c05b78950fe03279d60b015aeed5348ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=439e45a2f69549b674d6a6e2023e8debfa00a2b8'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When object has a '__name' metafield, 'luaL_tolstring' used the
received index after pushing a string on the stack.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=04e19712a5d48b84869f9942836ff8314fb0be8e'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A tail call to a C function can have the behavior of a "real" tail
call, reusing the stack frame of the caller.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=f5df7f91f70234850484d26caf24e71e001e5304'/>
<id>f5df7f91f70234850484d26caf24e71e001e5304</id>
<content type='text'>
The assertion cannot compute 'f-&gt;abslineinfo[i]' when the initial
estimate 'i' is -1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The assertion cannot compute 'f-&gt;abslineinfo[i]' when the initial
estimate 'i' is -1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug (kind of) in 'isinstack'</title>
<updated>2021-02-25T16:39:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-25T16:39:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e0260eb2d4085723302d637dd8f3fca339d18817'/>
<id>e0260eb2d4085723302d637dd8f3fca339d18817</id>
<content type='text'>
The function 'isinstack' tried to work around the undefined behavior
of subtracting two pointers that do not point to the same object,
but the compiler killed to trick. (It optimizes out the safety check,
because in a correct execution it will be always true.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function 'isinstack' tried to work around the undefined behavior
of subtracting two pointers that do not point to the same object,
but the compiler killed to trick. (It optimizes out the safety check,
because in a correct execution it will be always true.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Better error messages for calling non-callable objects</title>
<updated>2020-12-29T16:15:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-29T16:15:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=4bd10b6fe81c0a56eb9e01e24fba10e655966870'/>
<id>4bd10b6fe81c0a56eb9e01e24fba10e655966870</id>
<content type='text'>
When available, use the calling code to find a suitable name for what
was being called; this is particularly useful for errors of non-callable
metamethods. This commit also improved the debug information for
order metamethods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When available, use the calling code to find a suitable name for what
was being called; this is particularly useful for errors of non-callable
metamethods. This commit also improved the debug information for
order metamethods.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test cases for error messages about goto/label</title>
<updated>2020-12-03T15:11:15+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-03T15:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=f15589f3b0da477e5dda8863cbf4c0b36469e36d'/>
<id>f15589f3b0da477e5dda8863cbf4c0b36469e36d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid GCs when testing stack overflow</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-28T13:14:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=0085db4596df99b43fc245f71ee444da68cb830b'/>
<id>0085db4596df99b43fc245f71ee444da68cb830b</id>
<content type='text'>
A GC step may invoke some finalizer, which may error and emit
a warning due to stack overflfow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A GC step may invoke some finalizer, which may error and emit
a warning due to stack overflfow.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revision of stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-23T13:18:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=287b302acb8d925178e9edb800f0a8d18c7d35f6'/>
<id>287b302acb8d925178e9edb800f0a8d18c7d35f6</id>
<content type='text'>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</pre>
</div>
</content>
</entry>
<entry>
<title>Back to a stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-21T13:31:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5d8ce05b3f6fad79e37ed21c1076e47a322472c6'/>
<id>5d8ce05b3f6fad79e37ed21c1076e47a322472c6</id>
<content type='text'>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A "with stack" implementation gains too little in performance to be
worth all the noise from C-stack overflows.

This commit is almost a sketch, to test performance. There are several
pending stuff:

- review control of C-stack overflow and error messages;
- what to do with setcstacklimit;
- review comments;
- review unroll of Lua calls.
</pre>
</div>
</content>
</entry>
</feed>
