commit | 7a2222487507eb13cccdb9a66397092775d62b8c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 01 19:23:24 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 01 19:23:24 2022 +0000 |
tree | c5878917461a22b48ec7a38cb6356352b8e57895 | |
parent | f01af9c4e6f1438cd1112cfff42f3837028c7846 [diff] [blame] |
patch 8.2.4487: Vim9: cannot compare with v:null Problem: Vim9: cannot compare with v:null. Solution: Allow comparing anything with v:null. (closes #9866)
diff --git a/src/vim9.h b/src/vim9.h index 87ee6b1..07dd639 100644 --- a/src/vim9.h +++ b/src/vim9.h
@@ -134,6 +134,7 @@ // comparative operations; isn_arg.op.op_type is exprtype_T, op_ic used ISN_COMPAREBOOL, ISN_COMPARESPECIAL, + ISN_COMPARENULL, ISN_COMPARENR, ISN_COMPAREFLOAT, ISN_COMPARESTRING,