]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1641: Vim9: cannot use 0 or 1 where a bool is expected v8.2.1641
authorBram Moolenaar <Bram@vim.org>
Wed, 9 Sep 2020 12:55:31 +0000 (14:55 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 9 Sep 2020 12:55:31 +0000 (14:55 +0200)
commit29a86ffee794bc1a0efde215c203cf9529047252
treee718319396ca7a66a071c72fb02af88db2426e3f
parentf842cd9e285afb9d86c6f9bff400e5e576f873c0
patch 8.2.1641: Vim9: cannot use 0 or 1 where a bool is expected

Problem:    Vim9: cannot use 0 or 1 where a bool is expected.
Solution:   Allow using 0 and 1 for a bool type. (closes #6903)
src/proto/vim9type.pro
src/structs.h
src/testdir/test_vim9_script.vim
src/version.c
src/vim9compile.c
src/vim9type.c