1
0
forked from aniani/vim

patch 8.2.4973: Vim9: type error for list unpack mentions argument

Problem:    Vim9: type error for list unpack mentions argument.
Solution:   Mention variable. (close #10435)
This commit is contained in:
Bram Moolenaar
2022-05-17 16:12:39 +01:00
parent 1ff9c44267
commit bd3a9d2c94
8 changed files with 20 additions and 10 deletions

View File

@@ -2302,7 +2302,7 @@ def Test_for_loop_fails()
echo k v
endfor
END
v9.CheckDefExecAndScriptFailure(lines, ['E1013: Argument 1: type mismatch, expected job but got string', 'E1012: Type mismatch; expected job but got string'], 2)
v9.CheckDefExecAndScriptFailure(lines, ['E1163: Variable 1: type mismatch, expected job but got string', 'E1012: Type mismatch; expected job but got string'], 2)
lines =<< trim END
var i = 0