commit | b7c21afef14bba0208f2c40d47c050a004eb2f34 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Apr 18 14:12:31 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Apr 18 14:12:31 2021 +0200 |
tree | d7ac8993ffa95c8e45240dd873eb04e00235f074 | |
parent | d551d6c268e435e2fbba22775510fbd0a54477f6 [diff] [blame] |
patch 8.2.2781: add() silently skips when adding to null list or blob Problem: Add() silently skips when adding to null list or blob. Solution: Give an error in Vim9 script. Allocate blob when it is NULL like with list and dict.
diff --git a/src/version.c b/src/version.c index c3e2ea8..6216faf 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2781, +/**/ 2780, /**/ 2779,