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

patch 8.2.3238: Vim9: error message does not indicate the location

Problem:    Vim9: error message does not indicate the location.
Solution:   Add the relevant text. (issue #8634)
This commit is contained in:
Bram Moolenaar
2021-07-28 20:52:13 +02:00
parent 53f7fccc94
commit d47c39775b
4 changed files with 10 additions and 2 deletions

View File

@@ -3114,7 +3114,7 @@ func Test_expr7_fails()
call CheckDefExecAndScriptFailure(["var x = +g:alist"], 'E745:', 1)
call CheckDefExecAndScriptFailure(["var x = +g:adict"], 'E728:', 1)
call CheckDefAndScriptFailure2(["var x = ''", "var y = x.memb"], 'E715:', 'E488:', 2)
call CheckDefAndScriptFailure2(["var x = ''", "var y = x.memb"], 'E1229: Expected dictionary for using key "memb", but got string', 'E488:', 2)
call CheckDefAndScriptFailure2(["'yes'->", "Echo()"], 'E488: Trailing characters: ->', 'E260: Missing name after ->', 1)