]> granicus.if.org Git - vim/commitdiff
patch 8.2.2226: Vim9: script test fails v8.2.2226
authorBram Moolenaar <Bram@vim.org>
Sun, 27 Dec 2020 13:02:27 +0000 (14:02 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Dec 2020 13:02:27 +0000 (14:02 +0100)
Problem:    Vim9: script test fails.
Solution:   Add missing change.

src/scriptfile.c
src/version.c

index 38704a7fd7e7631a718b0cc4a3af362b53bd8442..90d483b9ec8d0fb97a1375f2edcc3477fdebd64f 100644 (file)
@@ -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
     {
index 20bf5348778bd3de1d1cdd758be88ca1f48ac7d4..989a7d9b0cb9fe502058a8dd778983c6f5fff9e0 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2226,
 /**/
     2225,
 /**/