Mercurial > vim
diff src/testdir/test55.in @ 6422:9fbb9c60ab41 v7.4.541
updated for version 7.4.541
Problem: Crash when doing a range assign.
Solution: Check for NULL poiter. (Yukihiro Nakadaira)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 07 Dec 2014 00:18:33 +0100 |
parents | 0a42938f449c |
children | f5b262981753 |
line wrap: on
line diff
--- a/src/testdir/test55.in +++ b/src/testdir/test55.in @@ -401,6 +401,11 @@ let l = [0, 1, 2, 3] : $put =v:exception[:15] . v:exception[-1:-1] :endtry :$put =string(d) +:" +:" test for range assign +:let l = [0] +:let l[:] = [1, 2] +:$put =string(l) :endfun :" :call Test(1, 2, [3, 4], {5: 6}) " This may take a while