forked from aniani/vim
patch 8.2.1287: Vim9: crash when using an imported function
Problem: Vim9: crash when using an imported function. Solution: Add the function type to the imported entry. (closes #6522)
This commit is contained in:
@@ -465,7 +465,10 @@ handle_import(
|
||||
imported->imp_var_vals_idx = idx;
|
||||
}
|
||||
else
|
||||
{
|
||||
imported->imp_type = ufunc->uf_func_type;
|
||||
imported->imp_funcname = ufunc->uf_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
erret:
|
||||
|
Reference in New Issue
Block a user