0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2985: Vim9: a compiled function cannot be debugged

Problem:    Vim9: a compiled function cannot be debugged.
Solution:   Add initial debugging support.
This commit is contained in:
Bram Moolenaar
2021-06-13 14:01:26 +02:00
parent e6174fd58d
commit e99d422bbd
11 changed files with 196 additions and 77 deletions

View File

@@ -3536,7 +3536,7 @@ eval7(
if (ufunc->uf_ret_type->tt_type == VAR_VOID)
ufunc->uf_ret_type = &t_unknown;
if (compile_def_function(ufunc,
FALSE, PROFILING(ufunc), NULL) == FAIL)
FALSE, COMPILE_TYPE(ufunc), NULL) == FAIL)
{
clear_tv(rettv);
ret = FAIL;