# HG changeset patch # User Bram Moolenaar # Date 1627812903 -7200 # Node ID e7c02cbe701fc72be7e66e6b61a76743d6f2ce23 # Parent e547441b00e4114522766e542ddd5d9e5f07c042 patch 8.2.3264: Vim9: assign test fails Commit: https://github.com/vim/vim/commit/f24f51d03035379cf3e5b2dccf489a40bc4ca92a Author: Bram Moolenaar Date: Sun Aug 1 12:01:49 2021 +0200 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 --- a/src/eval.c +++ b/src/eval.c @@ -1515,9 +1515,11 @@ tv_op(typval_T *tv1, typval_T *tv2, char 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 --- 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,