回复: [ANN] Lua 5.4.0 (beta) now available

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

回复: [ANN] Lua 5.4.0 (beta) now available

actboy168@gmail.com

https://github.com/lua/lua/blob/6e1aec7a677a9891f2f8ca57e039d9984fdc69bc/lapi.c#L233

  api_check(l, isvalid(L, to), "invalid index");

should be:

 api_check(L, isvalid(L, to), "invalid index");

I think.

 

--actboy168

 

发件人: [hidden email]
发送时间: 20191017 1:29
收件人: [hidden email]
主题: [ANN] Lua 5.4.0 (beta) now available

 

Lua 5.4.0 (beta) has been frozen and is now available for testing at

       http://www.lua.org/work/lua-5.4.0-beta.tar.gz

 

The checksums are

       MD5       961e2692a10a4a3c6fe80086e4cbefd5  -

       SHA1      5d018de9b1f69b7e334dc3fa43b815669e103880  -

 

This is an beta version. Some details may change in the final version.

 

The main changes in Lua 5.4.0 are listed at

       http://www.lua.org/work/doc/#changes

 

An updated reference manual is included and also available at

       http://www.lua.org/work/doc

 

The complete diffs of changes are available at

       http://www.lua.org/work/

 

A test suite is available at

       http://www.lua.org/work/lua-5.4.0-beta-tests.tar.gz

 

If your platform is a common Unix-like platform, just do

       make guess

The Makefile will guess your platform using uname and build Lua for it.

We welcome feedback on this, which is new, especially more uname targets

with explicit rules and fixes for existing ones.

 

We also welcome feedback on the listings output by luac -l -l, because

luac has been rewritten to account for the new VM instructions.

 

All feedback welcome. Thanks.

--lhf

 

 

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.4.0 (beta) now available

Dave Hayden
I also ran into this and I don’t see it fixed in the repo yet. The default luai_apicheck implementation ignores that argument so this only shows up when you’ve created a custom luai_apicheck handler.

-D


> On Oct 30, 2019, at 1:56 AM, [hidden email] wrote:
>
> https://github.com/lua/lua/blob/6e1aec7a677a9891f2f8ca57e039d9984fdc69bc/lapi.c#L233
>   api_check(l, isvalid(L, to), "invalid index");
> should be:
>  api_check(L, isvalid(L, to), "invalid index");
> I think.
>  
> --actboy168
>  
> 发件人: Luiz Henrique de Figueiredo
> 发送时间: 2019年10月17日 1:29
> 收件人: [hidden email]
> 主题: [ANN] Lua 5.4.0 (beta) now available
>  
> Lua 5.4.0 (beta) has been frozen and is now available for testing at
>        http://www.lua.org/work/lua-5.4.0-beta.tar.gz
>  
> The checksums are
>        MD5       961e2692a10a4a3c6fe80086e4cbefd5  -
>        SHA1      5d018de9b1f69b7e334dc3fa43b815669e103880  -
>  
> This is an beta version. Some details may change in the final version.
>  
> The main changes in Lua 5.4.0 are listed at
>        http://www.lua.org/work/doc/#changes
>  
> An updated reference manual is included and also available at
>        http://www.lua.org/work/doc
>  
> The complete diffs of changes are available at
>        http://www.lua.org/work/
>  
> A test suite is available at
>        http://www.lua.org/work/lua-5.4.0-beta-tests.tar.gz
>  
> If your platform is a common Unix-like platform, just do
>        make guess
> The Makefile will guess your platform using uname and build Lua for it.
> We welcome feedback on this, which is new, especially more uname targets
> with explicit rules and fixes for existing ones.
>  
> We also welcome feedback on the listings output by luac -l -l, because
> luac has been rewritten to account for the new VM instructions.
>  
> All feedback welcome. Thanks.
> --lhf


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Lua 5.4.0 (beta) now available

Dave Hayden
On Dec 12, 2019, at 3:52 PM, Dave Hayden <[hidden email]> wrote:
>
> I also ran into this and I don’t see it fixed in the repo yet. The default luai_apicheck implementation ignores that argument so this only shows up when you’ve created a custom luai_apicheck handler.

Related to this: llimits.h defines api_check without checking if one was already defined, though it does check for an existing luai_apicheck. (I’ve got both, so that I can save the msg arg in the case of an api_check failure.)

-Dave


> On Oct 30, 2019, at 1:56 AM, [hidden email] wrote:
>>
>> https://github.com/lua/lua/blob/6e1aec7a677a9891f2f8ca57e039d9984fdc69bc/lapi.c#L233
>>  api_check(l, isvalid(L, to), "invalid index");
>> should be:
>> api_check(L, isvalid(L, to), "invalid index");
>> I think.
>>
>> --actboy168
>>
>> 发件人: Luiz Henrique de Figueiredo
>> 发送时间: 2019年10月17日 1:29
>> 收件人: [hidden email]
>> 主题: [ANN] Lua 5.4.0 (beta) now available
>>
>> Lua 5.4.0 (beta) has been frozen and is now available for testing at
>>       http://www.lua.org/work/lua-5.4.0-beta.tar.gz
>>
>> The checksums are
>>       MD5       961e2692a10a4a3c6fe80086e4cbefd5  -
>>       SHA1      5d018de9b1f69b7e334dc3fa43b815669e103880  -
>>
>> This is an beta version. Some details may change in the final version.
>>
>> The main changes in Lua 5.4.0 are listed at
>>       http://www.lua.org/work/doc/#changes
>>
>> An updated reference manual is included and also available at
>>       http://www.lua.org/work/doc
>>
>> The complete diffs of changes are available at
>>       http://www.lua.org/work/
>>
>> A test suite is available at
>>       http://www.lua.org/work/lua-5.4.0-beta-tests.tar.gz
>>
>> If your platform is a common Unix-like platform, just do
>>       make guess
>> The Makefile will guess your platform using uname and build Lua for it.
>> We welcome feedback on this, which is new, especially more uname targets
>> with explicit rules and fixes for existing ones.
>>
>> We also welcome feedback on the listings output by luac -l -l, because
>> luac has been rewritten to account for the new VM instructions.
>>
>> All feedback welcome. Thanks.
>> --lhf
>
>