]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2320: Vim9: no error for comparing bool with string v8.2.2320
authorBram Moolenaar <Bram@vim.org>
Sat, 9 Jan 2021 15:21:37 +0000 (16:21 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 9 Jan 2021 15:21:37 +0000 (16:21 +0100)
commitcff40ff98664f4f5a9631aff1a155caf762ea74b
tree43819da60d947bf116b65278fae16b888741208e
parent657137ca487c60d63989236115115161def270a5
patch 8.2.2320: Vim9: no error for comparing bool with string

Problem:    Vim9: no error for comparing bool with string.
Solution:   Check for wrong types when comparing. (closes #7639)
src/errors.h
src/testdir/test_vim9_expr.vim
src/typval.c
src/version.c