vim-patch:8.1.0888: the a: dict is not immutable as documented (#10819)

Problem:    The a: dict is not immutable as documented.
Solution:   Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro
            Matsumoto, closes vim/vim#3929)
31b816042f
This commit is contained in:
Abdelhakeem Osama
2019-08-21 21:17:09 +03:00
committed by Daniel Hahler
parent 0e8ee37efd
commit 450a68b7cc
5 changed files with 202 additions and 10 deletions

View File

@@ -666,7 +666,7 @@ describe('list and dictionary types', function()
Vim(put):E741:
{'a': 99, 'b': 100}
No remove() of write-protected scope-level variable:
Vim(put):E795:
Vim(put):E742:
No extend() of write-protected scope-level variable:
Vim(put):E742:
No :unlet of variable in locked scope: