Hi Bram,

On Tue, Aug 3, 2021 at 9:59 AM Bram Moolenaar <[email protected]>
wrote:

> This passes on CI, but in my local setup it fails:
> Found errors in Test_lua_global_var_table():
> Caught exception in Test_lua_global_var_table(): Vim(lua):[string "vim
> chunk"]:1: bad argument #1 <https://github.com/vim/vim/issues/1> to
> 'remove' (table expected, got userdata) @ command line..script
> /home/mool/vim/vim82/src/testdir/runtest.vim[473]..function
> RunTheTest[44]..Test_lua_global_var_table, line 51
> Found errors in Test_lua_predefined_var_table():
> command line..script
> /home/mool/vim/vim82/src/testdir/runtest.vim[473]..function
> RunTheTest[44]..Test_lua_predefined_var_table line 12: Expected 'list is
> locked' but got '[string "vim chunk"]:1: bad argument #1
> <https://github.com/vim/vim/issues/1> to ''remove'' (table expected, got
> userdata)': lua table.remove(vim.v.argv, 1)
> SKIPPED Test_lua_list_table_insert_remove(): Lua version < 5.3
>
> I suppose that is because of the Lua version being 5.2.
>
>
>
Yes. The Lua 5.3 release notes mention that the table library
was enhanced to use metamethods for setting and getting elements.
I have updated the test to not use the table API for adding and
removing elements from the Vim dictionary.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7k2b5WpV%3D7VbHGqGugOtxhCOV%2BLm19b2%2Bxq7pn8b6uFfQ%40mail.gmail.com.

Raspunde prin e-mail lui