|
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 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 |