1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2020-09-05 17:18:28 +02:00
parent 59941cbd80
commit 44b4a246b6
4 changed files with 6 additions and 2 deletions

View File

@@ -1272,6 +1272,8 @@ def Test_copy_return_type()
res += n
endfor
assert_equal(6, res)
dl = deepcopy([1, 2, 3], true)
enddef
def Test_extend_return_type()