]> granicus.if.org Git - vim/commit
patch 8.2.3682: Vim9: assigning to a script variable drops the type v8.2.3682
authorBram Moolenaar <Bram@vim.org>
Fri, 26 Nov 2021 17:36:51 +0000 (17:36 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 26 Nov 2021 17:36:51 +0000 (17:36 +0000)
commit7824fc80f675b8098e6483ce082e287aad14b6da
tree7958a448ca9c5d0a45fef498b670a355f2f92b44
parentbfc5786a61693aaadc3e45f80a2f147c3a6711a3
patch 8.2.3682: Vim9: assigning to a script variable drops the type

Problem:    Vim9: assigning to a script variable drops the required type.
Solution:   Lookup the type of the variable and use it. (closes #9219)
src/evalvars.c
src/proto/vim9script.pro
src/testdir/test_vim9_assign.vim
src/version.c
src/vim9script.c