diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-01 12:01:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-01 12:01:49 +0200 |
commit | f24f51d03035379cf3e5b2dccf489a40bc4ca92a (patch) | |
tree | b82579f144080d552d534fda4595c1a81fb8df68 | |
parent | f5d52c90e0f2f51622a911b646024b2ad1225ed4 (diff) |
patch 8.2.3264: Vim9: assign test failsv8.2.3264
Problem: Vim9: assign test fails.
Solution: Add missing change.
-rw-r--r-- | src/eval.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 769816d2cc..3688176ab6 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 76c3e97e5f..1a05c522ff 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, |