commit | 44b4a246b62e0622550b963bcf3034dce3bcfc0c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 05 17:18:28 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 05 17:18:28 2020 +0200 |
tree | 6ac665264f240482b9745a2c119a45e1176e347a | |
parent | 59941cbd8035415d68683edc4e571306b10669ad [diff] [blame] |
patch 8.2.1600: Vim9: cannot use "true" with deepcopy() Problem: Vim9: cannot use "true" with deepcopy(). Solution: Use tv_get_bool_chk(). (closes #6867)
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index 828dbba..8651ef8 100644 --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim
@@ -1272,6 +1272,8 @@ res += n endfor assert_equal(6, res) + + dl = deepcopy([1, 2, 3], true) enddef def Test_extend_return_type()