]> granicus.if.org Git - vim/commit
patch 8.2.3994: Vim9: extend() complains about type when it was not declared v8.2.3994
authorBram Moolenaar <Bram@vim.org>
Mon, 3 Jan 2022 16:52:28 +0000 (16:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 3 Jan 2022 16:52:28 +0000 (16:52 +0000)
commitad8f2485856eadb931ebd1f633ca366a40e415b8
tree938bba2d4c81e2ec5b1e97a9ca5dd74a3fc09ab3
parentc88e977862ba6477a3b5b28706c45f96069a3073
patch 8.2.3994: Vim9: extend() complains about type when it was not declared

Problem:    Vim9: extend() complains about the type even when it was not
            declared.
Solution:   Only check the list or dict type when it was declared.
src/list.c
src/testdir/test_vim9_builtin.vim
src/version.c