]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1795: Vim9: operators && and || have a confusing result v8.2.1795
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Oct 2020 20:52:39 +0000 (22:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Oct 2020 20:52:39 +0000 (22:52 +0200)
commit2bb2658bef9fb25b320f87147261b7154494a86f
treed191313ffa993e6b2bb20092b37b3c30bbd7b923
parent92f26c256e06277ff2ec4ce7adea1eb58c85abe0
patch 8.2.1795: Vim9: operators && and || have a confusing result

Problem:    Vim9: operators && and || have a confusing result.
Solution:   Make the result a boolean.
12 files changed:
runtime/doc/vim9.txt
src/eval.c
src/structs.h
src/testdir/test_vim9_assign.vim
src/testdir/test_vim9_cmd.vim
src/testdir/test_vim9_disassemble.vim
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9.h
src/vim9compile.c
src/vim9execute.c
src/vim9type.c