zeertzjq
85741677c8
vim-patch:8.2.0634: crash with null partial and blob
...
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes vim/vim#5984 )
92b83ccfda
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-15 13:48:30 +08:00
zeertzjq
4b49f312a0
vim-patch:8.2.0633: crash when using null partial in filter()
...
Problem: Crash when using null partial in filter().
Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes vim/vim#5976 )
9d8d0b5c64
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-15 13:31:10 +08:00
zeertzjq
f12afd8e16
vim-patch:8.2.1798: Vim9: trinary operator condition is too permissive
...
Problem: Vim9: trinary operator condition is too permissive.
Solution: Use tv_get_bool_chk().
1310660557
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-14 18:04:12 +08:00
zeertzjq
d6e2804ab4
vim-patch:8.2.1794: no falsy Coalescing operator
...
Problem: No falsy Coalescing operator.
Solution: Add the "??" operator. Fix mistake with function argument count.
92f26c256e
Cherry-pick tv2bool() into eval/typval.c.
Cherry-pick *??* tag from Vim runtime.
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-14 18:04:09 +08:00
zeertzjq
3ad8458824
vim-patch:8.2.1067: expression "!expr->func()" does not work ( #22585 )
...
Problem: Expression "!expr->func()" does not work.
Solution: Apply plus and minus earlier. (closes vim/vim#6348 )
0b1cd52ff6
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-03-09 13:47:01 +08:00
dundargoc
af23d17388
test: move oldtests to test directory ( #22536 )
...
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
2023-03-07 11:13:04 +08:00