summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eval.c6
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 769816d2c..3688176ab 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1515,9 +1515,11 @@ tv_op(typval_T *tv1, typval_T *tv2, char_u *op)
char_u *s;
int failed = FALSE;
- // Can't do anything with a Funcref, Dict, v:true on the right.
+ // Can't do anything with a Funcref or Dict on the right.
+ // v:true and friends only work with "..=".
if (tv2->v_type != VAR_FUNC && tv2->v_type != VAR_DICT
- && tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL)
+ && ((tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL)
+ || *op == '.'))
{
switch (tv1->v_type)
{
diff --git a/src/version.c b/src/version.c
index 76c3e97e5..1a05c522f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3264,
+/**/
3263,
/**/
3262,