changeset 26048:e8592947d90b v8.2.3558

patch 8.2.3558: Vim9: asserting the wrong variable Commit: https://github.com/vim/vim/commit/06ca48a40f049f20347c9630a180457d1f1aece5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 23 10:25:21 2021 +0100 patch 8.2.3558: Vim9: asserting the wrong variable Problem: Vim9: asserting the wrong variable. Solution: Don't use Foo, use Goo.
author Bram Moolenaar <Bram@vim.org>
date Sat, 23 Oct 2021 11:30:04 +0200
parents dd99f8800b80
children 1663e536d900
files src/testdir/test_vim9_script.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -1495,7 +1495,7 @@ def Test_import_funcref()
 
       def DoTest()
         const Goo = G()
-        assert_equal(42, Foo)
+        assert_equal(42, Goo)
       enddef
       DoTest()
   END
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3558,
+/**/
     3557,
 /**/
     3556,