1
0
forked from aniani/vim

patch 8.2.2320: Vim9: no error for comparing bool with string

Problem:    Vim9: no error for comparing bool with string.
Solution:   Check for wrong types when comparing. (closes #7639)
This commit is contained in:
Bram Moolenaar
2021-01-09 16:21:37 +01:00
parent 657137ca48
commit cff40ff986
4 changed files with 40 additions and 0 deletions

View File

@@ -341,3 +341,5 @@ EXTERN char e_mismatched_endfunction[]
INIT(= N_("E1151: Mismatched endfunction"));
EXTERN char e_mismatched_enddef[]
INIT(= N_("E1152: Mismatched enddef"));
EXTERN char e_invalid_operation_for_bool[]
INIT(= N_("E1153: Invalid operation for bool"));