Mercurial > vim
diff src/testdir/test_channel.vim @ 15780:5b6c3c7feba8 v8.1.0897
patch 8.1.0897: can modify a:000 when using a reference
commit https://github.com/vim/vim/commit/05c00c038bc16e862e17f9e5c8d5a72af6cf7788
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 11 22:00:11 2019 +0100
patch 8.1.0897: can modify a:000 when using a reference
Problem: Can modify a:000 when using a reference.
Solution: Make check for locked variable stricter. (Ozaki Kiichi,
closes #3930)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 11 Feb 2019 22:15:07 +0100 |
parents | 9d18e8457209 |
children | 915ed7ca92fa |
line wrap: on
line diff
--- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -2062,9 +2062,9 @@ func Test_job_tty_in_out() for in_opt in in_opts let x = copy(in_opt) for out_opt in out_opts - call extend(x, out_opt) + let x = extend(copy(x), out_opt) for err_opt in err_opts - call extend(x, err_opt) + let x = extend(copy(x), err_opt) let opts += [extend({'pty': 1}, x)] endfor endfor