]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4287: cannot assign empty list with type to variable with list type v8.2.4287
authorBram Moolenaar <Bram@vim.org>
Thu, 3 Feb 2022 12:34:05 +0000 (12:34 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 3 Feb 2022 12:34:05 +0000 (12:34 +0000)
commit2d3ac2e03093c4b0ae5d18c5f2f51ae0c2a9ec72
treed2b934718119e9e54d1bfeb02424b818e315385e
parent381692b6f1c2ec9b73a139500286ddc9347a1c01
patch 8.2.4287: cannot assign empty list with type to variable with list type

Problem:    Cannot assign empty list with any list type to variable with
            specific list type.
Solution:   Use unknown list type for empty list if the specified type is any.
src/testdir/test_vim9_assign.vim
src/testdir/test_vim9_func.vim
src/version.c
src/vim9type.c