To: vim_dev@googlegroups.com Subject: Patch 8.2.2665 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///