mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 9.0.0335: checks for Dictionary argument often give a vague error
Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
This commit is contained in:
committed by
Bram Moolenaar
parent
f240395fca
commit
04c4c5746e
@@ -113,7 +113,7 @@ func Test_dict()
|
||||
END
|
||||
call v9.CheckLegacyAndVim9Success(lines)
|
||||
|
||||
call v9.CheckLegacyAndVim9Failure(["VAR i = has_key([], 'a')"], ['E715:', 'E1013:', 'E1206:'])
|
||||
call v9.CheckLegacyAndVim9Failure(["VAR i = has_key([], 'a')"], ['E1206:', 'E1013:', 'E1206:'])
|
||||
endfunc
|
||||
|
||||
func Test_strgetchar()
|
||||
|
Reference in New Issue
Block a user