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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202108011002.171A2KPk212927%40masaka.moolenaar.net.