changeset 23366:2f8aaa8f71dc v8.2.2226

patch 8.2.2226: Vim9: script test fails Commit: https://github.com/vim/vim/commit/7e3ee7823ffc55b37e9718720263637ed7232646 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 27 14:02:27 2020 +0100 patch 8.2.2226: Vim9: script test fails Problem: Vim9: script test fails. Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Dec 2020 14:15:03 +0100
parents 0fb7d6e906b4
children 91b6cc84c6b7
files src/scriptfile.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -1341,6 +1341,8 @@ do_source(
 		di = HI2DI(hi);
 		di->di_flags |= DI_FLAGS_RELOAD;
 	    }
+	// imports can be redefined once
+	mark_imports_for_reload(sid);
     }
     else
     {
--- 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 */
 /**/
+    2226,
+/**/
     2225,
 /**/
     2224,