vim-patch:8.2.1204: Vim9: true and false not recognized in Vim9 script (#41185)

Problem:    Vim9: true and false not recognized in Vim9 script.
Solution:   Recognize true and false.

5d2eb0fff0

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
Jan Edmund Lazo
2026-08-05 23:48:00 -04:00
committed by GitHub
parent 139ffd91de
commit 54373e2453

View File

@@ -2785,7 +2785,7 @@ static int eval7(char **arg, typval_T *rettv, evalarg_T *const evalarg, bool wan
*arg = skipwhite(*arg);
ret = eval_func(arg, evalarg, s, len, rettv, flags, NULL);
} else if (evaluate) {
// get value of variable
// get the value of a variable
ret = eval_variable(s, len, rettv, NULL, true, false);
} else {
// skip the name