]> granicus.if.org Git - vim/commit
patch 8.2.1668: Vim9: not accepting 0 or 1 as bool when type is any v8.2.1668
authorBram Moolenaar <Bram@vim.org>
Sat, 12 Sep 2020 17:11:23 +0000 (19:11 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 12 Sep 2020 17:11:23 +0000 (19:11 +0200)
commitdadaddd59f3b53c41e92dc42219ab006deb14109
treeb0fecbbed4c3a77ee11072940f404e8d62ca440f
parent0f769815c82bf93812842e1ad56fcc52c10ff3e5
patch 8.2.1668: Vim9: not accepting 0 or 1 as bool when type is any

Problem:    Vim9: not accepting 0 or 1 as bool when type is any.
Solution:   Convert the type with the CHECKTYPE instruction. (closes #6913)
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9execute.c