]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0952: Vim9: missing type checking for any type assignment v9.1.0952
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sun, 22 Dec 2024 13:44:35 +0000 (14:44 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 22 Dec 2024 13:44:35 +0000 (14:44 +0100)
commit92195ae72f141a1d454d930a0b395c63d08f5fe0
tree2d5f242f1f3b348f4a4773d3c06febc3f01d82cf
parent62e3014ab1146d7f78694c97fc6974f1af2cc5af
patch 9.1.0952: Vim9: missing type checking for any type assignment

Problem:  Vim9: missing type checking for any type assignment
          (Ernie Rael)
Solution: when assigning to a list item, if the type of the LHS item is
          any, then use the list item type (Yegappan Lakshmanan)

fixes: #15208
closes: #16274

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/eval.c
src/structs.h
src/testdir/test_vim9_assign.vim
src/version.c
src/vim9execute.c