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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user