mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1390: Vim9: type error after storing an option value
Problem: Vim9: type error after storing an option value. Solution: Drop the type after a STOREOPT instruction. (closes #6632)
This commit is contained in:
@@ -422,6 +422,11 @@ def Test_assignment_var_list()
|
||||
assert_equal('one', v1)
|
||||
assert_equal('two', v2)
|
||||
assert_equal(['three'], vrem)
|
||||
|
||||
[&ts, &sw] = [3, 4]
|
||||
assert_equal(3, &ts)
|
||||
assert_equal(4, &sw)
|
||||
set ts=8 sw=4
|
||||
enddef
|
||||
|
||||
def Test_assignment_vim9script()
|
||||
|
Reference in New Issue
Block a user