lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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, actboy168@gmail.com 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
> 收件人: lua-l@lists.lua.org
> 主题: [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