0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1647: Vim9: result of expression with && and || is not a bool

Problem:    Vim9: result of expression with && and || cannot be assigned to a
            bool variable.
Solution:   Add the TTFLAG_BOOL_OK flag and convert the value if needed.
This commit is contained in:
Bram Moolenaar
2020-09-09 20:03:46 +02:00
parent 33e3346322
commit 4ed124cc6c
4 changed files with 66 additions and 2 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1647,
/**/
1646,
/**/