Skip to content

Commit

Permalink
patch 8.2.3264: Vim9: assign test fails
Browse files Browse the repository at this point in the history
Problem:    Vim9: assign test fails.
Solution:   Add missing change.
  • Loading branch information
brammool committed Aug 1, 2021
1 parent f5d52c9 commit f24f51d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/eval.c
Expand Up @@ -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)
{
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -755,6 +755,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3264,
/**/
3263,
/**/
Expand Down

0 comments on commit f24f51d

Please sign in to comment.