mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
vim-patch:7.4.286 #750
Problem: Error messages are inconsistant. (ZyX) Solution: Change "Lists" to "list". https://code.google.com/p/vim/source/detail?r=be19015ef43cc17825929206790696c2e716035d
This commit is contained in:

committed by
Justin M. Keyes

parent
f68bf38547
commit
82d11c0772
@@ -3438,10 +3438,11 @@ static int eval4(char_u **arg, typval_T *rettv, int evaluate)
|
||||
n1 = !n1;
|
||||
} else if (rettv->v_type != var2.v_type
|
||||
|| (type != TYPE_EQUAL && type != TYPE_NEQUAL)) {
|
||||
if (rettv->v_type != var2.v_type)
|
||||
if (rettv->v_type != var2.v_type) {
|
||||
EMSG(_("E691: Can only compare List with List"));
|
||||
else
|
||||
EMSG(_("E692: Invalid operation for Lists"));
|
||||
} else {
|
||||
EMSG(_("E692: Invalid operation for List"));
|
||||
}
|
||||
clear_tv(rettv);
|
||||
clear_tv(&var2);
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user