mirror of https://github.com/vim/vim.git
patch 8.2.1753: Vim9: crash when using import at script level
Problem: Vim9: crash when using import at script level. Solution: Give a "not implemented yet" error. (closes #7026)
This commit is contained in:
parent
daff0fb738
commit
f6a44f714a
|
@ -2486,6 +2486,11 @@ eval_variable(
|
|||
rettv->vval.v_string = vim_strsave(import->imp_funcname);
|
||||
}
|
||||
}
|
||||
else if (import->imp_all)
|
||||
{
|
||||
emsg("Sorry, 'import * as X' not implemented yet");
|
||||
ret = FAIL;
|
||||
}
|
||||
else
|
||||
{
|
||||
scriptitem_T *si = SCRIPT_ITEM(import->imp_sid);
|
||||
|
|
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1753,
|
||||
/**/
|
||||
1752,
|
||||
/**/
|
||||
|
|
Loading…
Reference in New Issue