patch 8.2.4044: Vim9: no error when importing the same script twice v8.2.4044
authorBram Moolenaar <Bram@vim.org>
Sat, 8 Jan 2022 17:03:55 +0000 (17:03 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 8 Jan 2022 17:03:55 +0000 (17:03 +0000)
commit7c24dfddc28776eeff7464982ae5b94e187b6135
tree2b84bb1e2900eeaf8a892830bb01a35dfe7b9dfd
parent04935fb17e5f0f66b82cf4546b9752d3d1fa650e
patch 8.2.4044: Vim9: no error when importing the same script twice

Problem:    Vim9: no error when importing the same script twice.
Solution:   Give an error, unless it is a reload.
src/errors.h
src/testdir/test_vim9_import.vim
src/version.c
src/vim9script.c