1
0
forked from aniani/vim

patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime

Problem:    Vim9: bool expression with numbers only fails at runtime.
Solution:   Check constant to be bool at compile time. (closes #8603)
This commit is contained in:
Bram Moolenaar
2021-07-21 21:37:28 +02:00
parent c4c5642513
commit 05bd9785fd
3 changed files with 57 additions and 22 deletions

View File

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