0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.0285: unused error message; cannot create s:var

Problem:    Unused error message. Cannot create s:var.
Solution:   Remove the error message. Make assignment to s:var work.
This commit is contained in:
Bram Moolenaar
2020-02-19 22:31:48 +01:00
parent c0d656c89d
commit 0bbf722aaa
4 changed files with 37 additions and 31 deletions

View File

@@ -65,6 +65,8 @@ def Test_assignment()
assert_equal('xxxyyy', s:appendToMe)
s:addToMe += 222
assert_equal(333, s:addToMe)
s:newVar = 'new'
assert_equal('new', s:newVar)
enddef
func Test_assignment_failure()