# HG changeset patch # User Bram Moolenaar # Date 1617650103 -7200 # Node ID 95b8937804d354a730542ce4345200448e1bb611 # Parent 6b925d35135e3da525de2e93546308b83960568c patch 8.2.2724: Vim9: concatenating to list in dict not tested Commit: https://github.com/vim/vim/commit/0d351a04e137b5c25dd558476182e4cbc81a287d Author: Bram Moolenaar Date: Mon Apr 5 21:05:26 2021 +0200 patch 8.2.2724: Vim9: concatenating to list in dict not tested Problem: Vim9: concatenating to list in dict not tested. Solution: Add a test. (issue https://github.com/vim/vim/issues/8068) diff --git a/src/testdir/test_vim9_assign.vim b/src/testdir/test_vim9_assign.vim --- 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 --- 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,