]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3176: Vim9: no type error for comparing number with string v8.2.3176
authorBram Moolenaar <Bram@vim.org>
Sun, 18 Jul 2021 12:43:43 +0000 (14:43 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 18 Jul 2021 12:43:43 +0000 (14:43 +0200)
commit0c35752d04f70408a3c560d5b3edbafcaddff302
treef4db397f3be18ba9dc6082b73ed24e98affb15da
parentc6ba2f9dde6d01c8ab356c239c2259f7d83652a4
patch 8.2.3176: Vim9: no type error for comparing number with string

Problem:    Vim9: no type error for comparing number with string.
Solution:   Add a runtime type check. (closes #8571)
src/errors.h
src/testdir/test_vim9_expr.vim
src/typval.c
src/version.c