changeset 26982:f15bf2470359 v8.2.4020

patch 8.2.4020: debugger test fails Commit: https://github.com/vim/vim/commit/84c62d59a3604d15c447f28e89679944a4926cc3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 6 21:31:19 2022 +0000 patch 8.2.4020: debugger test fails Problem: Debugger test fails. Solution: Fix import statement.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jan 2022 22:45:03 +0100
parents da627748e5bf
children 92246fa87635
files src/testdir/test_debugger.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_debugger.vim
+++ b/src/testdir/test_debugger.vim
@@ -891,7 +891,7 @@ func Test_Backtrace_DefFunction()
   CheckCWD
   let file1 =<< trim END
     vim9script
-    import File2Function from './Xtest2.vim'
+    import './Xtest2.vim' as imp
 
     def SourceAnotherFile()
       source Xtest2.vim
@@ -899,7 +899,7 @@ func Test_Backtrace_DefFunction()
 
     def CallAFunction()
       SourceAnotherFile()
-      File2Function()
+      imp.File2Function()
     enddef
 
     def g:GlobalFunction()
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4020,
+/**/
     4019,
 /**/
     4018,