mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4332: Vim9: incomplete test for existing script variable in block
Problem: Vim9: incomplete test for existing script variable in block. Solution: Add a couple more tests. Fix uncovered problem.
This commit is contained in:
@@ -600,7 +600,8 @@ handle_import(
|
||||
goto erret;
|
||||
}
|
||||
else if (imported == NULL
|
||||
&& check_defined(as_name, STRLEN(as_name), cctx, FALSE) == FAIL)
|
||||
&& check_defined(as_name, STRLEN(as_name), cctx, NULL,
|
||||
FALSE) == FAIL)
|
||||
goto erret;
|
||||
|
||||
if (imported == NULL)
|
||||
|
Reference in New Issue
Block a user