patch 8.2.2985: Vim9: a compiled function cannot be debugged
Problem: Vim9: a compiled function cannot be debugged.
Solution: Add initial debugging support.
diff --git a/src/eval.c b/src/eval.c
index 8a6539e..ffc7122 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3536,7 +3536,7 @@
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;