0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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:
Bram Moolenaar
2020-07-23 22:41:43 +02:00
parent 43e969d3f9
commit 40f4f7a48c
4 changed files with 17 additions and 7 deletions

View File

@@ -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: