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;
|
n1 = !n1;
|
||||||
} else if (rettv->v_type != var2.v_type
|
} else if (rettv->v_type != var2.v_type
|
||||||
|| (type != TYPE_EQUAL && type != TYPE_NEQUAL)) {
|
|| (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"));
|
EMSG(_("E691: Can only compare List with List"));
|
||||||
else
|
} else {
|
||||||
EMSG(_("E692: Invalid operation for Lists"));
|
EMSG(_("E692: Invalid operation for List"));
|
||||||
|
}
|
||||||
clear_tv(rettv);
|
clear_tv(rettv);
|
||||||
clear_tv(&var2);
|
clear_tv(&var2);
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
@@ -202,6 +202,7 @@ static char *(features[]) = {
|
|||||||
|
|
||||||
static int included_patches[] = {
|
static int included_patches[] = {
|
||||||
// Add new patch number below this line
|
// Add new patch number below this line
|
||||||
|
286,
|
||||||
285,
|
285,
|
||||||
284,
|
284,
|
||||||
//283,
|
//283,
|
||||||
|
Reference in New Issue
Block a user