Skip to content

Commit f24f51d

Browse files
committed
patch 8.2.3264: Vim9: assign test fails
Problem: Vim9: assign test fails. Solution: Add missing change.
1 parent f5d52c9 commit f24f51d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/eval.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,9 +1515,11 @@ tv_op(typval_T *tv1, typval_T *tv2, char_u *op)
15151515
char_u *s;
15161516
int failed = FALSE;
15171517

1518-
// Can't do anything with a Funcref, Dict, v:true on the right.
1518+
// Can't do anything with a Funcref or Dict on the right.
1519+
// v:true and friends only work with "..=".
15191520
if (tv2->v_type != VAR_FUNC && tv2->v_type != VAR_DICT
1520-
&& tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL)
1521+
&& ((tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL)
1522+
|| *op == '.'))
15211523
{
15221524
switch (tv1->v_type)
15231525
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,8 @@ static char *(features[]) =
755755

756756
static int included_patches[] =
757757
{ /* Add new patch number below this line */
758+
/**/
759+
3264,
758760
/**/
759761
3263,
760762
/**/

0 commit comments

Comments
 (0)