diff src/scriptfile.c @ 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 b3142fc0a414
children 3105546b941f
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
     {