From: Bram Moolenaar Date: Sun, 1 Aug 2021 10:01:49 +0000 (+0200) Subject: patch 8.2.3264: Vim9: assign test fails X-Git-Tag: v8.2.3264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f24f51d03035379cf3e5b2dccf489a40bc4ca92a;p=vim patch 8.2.3264: Vim9: assign test fails Problem: Vim9: assign test fails. Solution: Add missing change. --- 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 @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3264, /**/ 3263, /**/