summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-02 20:38:01 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-02 20:38:01 +0000
commit03ff0c66810492853291311e9e11a75b92cdcb8a (patch)
tree9388ac45ffa67fb77c8427dfa5f2c04e7856ee99
parentbcf31ec36b4b056bf06d21036640c6f0235e9c2b (diff)
patch 9.0.1135: missing function argumentv9.0.1135
Problem: Missing function argument. Solution: Add ignore case flag.
-rw-r--r--src/version.c2
-rw-r--r--src/vim9execute.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/version.c b/src/version.c
index 2a5b3ebca3..72493e3c1f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1135,
+/**/
1134,
/**/
1133,
diff --git a/src/vim9execute.c b/src/vim9execute.c
index a4c6632738..0aed737ad5 100644
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -4734,12 +4734,13 @@ exec_instructions(ectx_T *ectx)
}
else if (iptr->isn_type == ISN_COMPARECLASS)
{
- status = typval_compare_class(tv1, tv2, exprtype, &res);
+ status = typval_compare_class(tv1, tv2,
+ exprtype, FALSE, &res);
}
else // ISN_COMPAREOBJECT
{
status = typval_compare_object(tv1, tv2,
- exprtype, &res);
+ exprtype, FALSE, &res);
}
--ectx->ec_stack.ga_len;
clear_tv(tv1);