]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2323: Vim9: error when inferring type from empty dict/list v8.2.2323
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2021 18:23:27 +0000 (19:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2021 18:23:27 +0000 (19:23 +0100)
commit31a11b942a56bf75a653eec0976f365f9b389a5a
treeded767365312f9bd28ef860a682ee0feac4be53e
parent0186e58639b19933d3d9188d552fe6745265eb1b
patch 8.2.2323: Vim9: error when inferring type from empty dict/list

Problem:    Vim9: error when inferring type from empty dict/list.
Solution:   When the member is t_unknown use t_any. (closes #7009)
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9compile.c