0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.2755: Vim9: no error for using a number in a condition

Problem:    Vim9: no error for using a number in a condition.
Solution:   Also use ISN_COND2BOOL if the type is t_number_bool.
            (closes #7644)
This commit is contained in:
Bram Moolenaar
2021-04-11 18:24:46 +02:00
parent 09f067fca3
commit af8ea0d066
4 changed files with 24 additions and 5 deletions

View File

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