Patch 8.2.3264

5 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 1, 2021, 6:02:28 AM8/1/21
to vim...@googlegroups.com

Patch 8.2.3264 (after 8.2.3263)
Problem: Vim9: assign test fails.
Solution: Add missing change.
Files: src/eval.c


*** ../vim-8.2.3263/src/eval.c 2021-07-29 22:48:50.107129898 +0200
--- src/eval.c 2021-07-31 22:45:38.575443110 +0200
***************
*** 1515,1523 ****
char_u *s;
int failed = FALSE;

! // Can't do anything with a Funcref, Dict, v:true on the right.
if (tv2->v_type != VAR_FUNC && tv2->v_type != VAR_DICT
! && tv2->v_type != VAR_BOOL && tv2->v_type != VAR_SPECIAL)
{
switch (tv1->v_type)
{
--- 1515,1525 ----
char_u *s;
int failed = FALSE;

! // 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)
! || *op == '.'))
{
switch (tv1->v_type)
{
*** ../vim-8.2.3263/src/version.c 2021-07-31 22:51:06.934754916 +0200
--- src/version.c 2021-08-01 12:01:25.460480655 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3264,
/**/

--
"Intelligence has much less practical application than you'd think."
-- Scott Adams, Dilbert.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages