mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4575: Vim9: test for profiling still fails
Problem: Vim9: test for profiling still fails. Solution: Update flags for profiling and breakpoints when obtaining the compile type. Do not set the FC_CLOSURE flag for a toplevel function.
This commit is contained in:
@@ -3794,8 +3794,8 @@ eval7(
|
||||
// This is recognized in compile_return().
|
||||
if (ufunc->uf_ret_type->tt_type == VAR_VOID)
|
||||
ufunc->uf_ret_type = &t_unknown;
|
||||
if (compile_def_function(ufunc,
|
||||
FALSE, COMPILE_TYPE(ufunc), NULL) == FAIL)
|
||||
if (compile_def_function(ufunc, FALSE,
|
||||
get_compile_type(ufunc), NULL) == FAIL)
|
||||
{
|
||||
clear_tv(rettv);
|
||||
ret = FAIL;
|
||||
|
Reference in New Issue
Block a user