Patch 8.2.2665 (after 8.2.2664)
Problem: Test failures.
Solution: Check more specific feature. Add missing change.
Files: src/testdir/test_vim9_builtin.vim, src/evalbuffer.c
*** ../vim-8.2.2664/src/testdir/test_vim9_builtin.vim 2021-03-27
18:59:21.867043162 +0100
--- src/testdir/test_vim9_builtin.vim 2021-03-27 19:05:03.714132384 +0100
***************
*** 133,139 ****
enddef
def Test_balloon_split()
! CheckFeature balloon_eval
assert_fails('balloon_split(true)', 'E1174:')
enddef
--- 133,139 ----
enddef
def Test_balloon_split()
! CheckFeature balloon_eval_term
assert_fails('balloon_split(true)', 'E1174:')
enddef
*** ../vim-8.2.2664/src/evalbuffer.c 2021-02-09 20:02:52.618109261 +0100
--- src/evalbuffer.c 2021-03-27 18:51:10.276253556 +0100
***************
*** 88,93 ****
--- 88,95 ----
if (avar->v_type == VAR_NUMBER)
buf = buflist_findnr((int)avar->vval.v_number);
+ else if (in_vim9script() && check_for_string_arg(avar, 0) == FAIL)
+ return NULL;
else if (avar->v_type == VAR_STRING && avar->vval.v_string != NULL)
{
buf = buflist_findname_exp(avar->vval.v_string);
*** ../vim-8.2.2664/src/version.c 2021-03-27 18:59:21.867043162 +0100
--- src/version.c 2021-03-27 19:08:40.789539299 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2665,
/**/
--
Time is an illusion. Lunchtime doubly so.
-- Ford Prefect, in Douglas Adams'
"The Hitchhiker's Guide to the Galaxy"
/// 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/202103271809.12RI9lNW652061%40masaka.moolenaar.net.