Mercurial > vim
view src/testdir/test_alot.vim @ 22202:7899b4e2880c v8.2.1650
patch 8.2.1650: Vim9: result of && and || expression is not bool in script
Commit: https://github.com/vim/vim/commit/c1ec0422e43720d2e96627605532ee9806c0789f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 9 22:27:58 2020 +0200
patch 8.2.1650: Vim9: result of && and || expression is not bool in script
Problem: Vim9: result of && and || expression cannot be assigned to a bool
at the script level.
Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Sep 2020 22:30:04 +0200 |
parents | 4c9acbd6b3c7 |
children | 5dfee9b1eabe |
line wrap: on
line source
" A series of tests that can run in one Vim invocation. " This makes testing go faster, since Vim doesn't need to restart. source test_backup.vim source test_behave.vim source test_compiler.vim source test_ex_equal.vim source test_ex_undo.vim source test_ex_z.vim source test_ex_mode.vim source test_expand.vim source test_expand_dllpath.vim source test_expand_func.vim source test_feedkeys.vim source test_file_perm.vim source test_fnamemodify.vim source test_ga.vim source test_glob2regpat.vim source test_global.vim source test_jumps.vim source test_lispwords.vim source test_move.vim source test_put.vim source test_recover.vim source test_reltime.vim source test_scroll_opt.vim source test_searchpos.vim source test_set.vim source test_shift.vim source test_sha256.vim source test_tabline.vim source test_tagcase.vim source test_tagfunc.vim source test_unlet.vim source test_version.vim source test_wnext.vim