mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3807: Vim9: can call import with star directly
Problem: Vim9: can call import with star directly. Solution: Check that the import used star.
This commit is contained in:
@@ -2001,7 +2001,7 @@ eval_func(
|
||||
// Need to make a copy, in case evaluating the arguments makes
|
||||
// the name invalid.
|
||||
s = vim_strsave(s);
|
||||
if (s == NULL || (flags & EVAL_CONSTANT))
|
||||
if (s == NULL || *s == NUL || (flags & EVAL_CONSTANT))
|
||||
ret = FAIL;
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user