diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-04-05 21:05:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-05 21:05:26 +0200 |
commit | 0d351a04e137b5c25dd558476182e4cbc81a287d (patch) | |
tree | e314f0537fe5eceb4f40848667d849011cacd845 /src | |
parent | 58fb7c39a04aabfa399ae4f2142ee0728bc22483 (diff) |
patch 8.2.2724: Vim9: concatenating to list in dict not testedv8.2.2724
Problem: Vim9: concatenating to list in dict not tested.
Solution: Add a test. (issue #8068)
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_vim9_assign.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_assign.vim b/src/testdir/test_vim9_assign.vim index 4e78b5d5b5..73351b44f4 100644 --- a/src/testdir/test_vim9_assign.vim +++ b/src/testdir/test_vim9_assign.vim @@ -1152,6 +1152,10 @@ def Test_assign_dict_with_op() dd.a.b = [0] dd.a.b += [1] assert_equal({a: {b: [0, 1]}}, dd) + + var dab = {a: ['b']} + dab.a[0] ..= 'c' + assert_equal({a: ['bc']}, dab) END CheckDefAndScriptSuccess(lines) enddef diff --git a/src/version.c b/src/version.c index 9696f5ad3f..ef8f999ac8 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2724, +/**/ 2723, /**/ 2722, |