]> granicus.if.org Git - vim/commit
patch 8.2.3168: Vim9: type error for constant of type any v8.2.3168
authorBram Moolenaar <Bram@vim.org>
Thu, 15 Jul 2021 17:23:18 +0000 (19:23 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 15 Jul 2021 17:23:18 +0000 (19:23 +0200)
commit378697ac58b8f9705286e36d1805a052e96fb86e
tree38efb1d1cea655cfaaf4fce39b5c0b943107df63
parent547f94f33098b060da9d62c29d9fcbe9bf1e2b11
patch 8.2.3168: Vim9: type error for constant of type any

Problem:    Vim9: type error for constant of type any.
Solution:   Do add a runtime type check if a constant has type any.
            (closes #8570)
src/testdir/test_vim9_assign.vim
src/version.c
src/vim9compile.c