mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
vim-patch:8.2.0823: Vim9: script reload test is disabled
Problem: Vim9: script reload test is disabled.
Solution: Compile a function in the context of the script where it was
defined. Set execution stack for compiled function. Add a test
that an error is reported for the right file/function.
25e0f5863e
Omit stack_top_is_ufunc(): only used by Vim9 script.
This commit is contained in:
@@ -1015,7 +1015,7 @@ void call_user_func(ufunc_T *fp, int argcount, typval_T *argvars, typval_T *rett
|
||||
sandbox++;
|
||||
}
|
||||
|
||||
estack_push_ufunc(ETYPE_UFUNC, fp, 1);
|
||||
estack_push_ufunc(fp, 1);
|
||||
if (p_verbose >= 12) {
|
||||
++no_wait_return;
|
||||
verbose_enter_scroll();
|
||||
|
Reference in New Issue
Block a user