summaryrefslogtreecommitdiffstats
path: root/src/userfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-13 14:01:26 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-13 14:01:26 +0200
commite99d422bbd3e47620915bf89671673f0711671b4 (patch)
treeda9d46ec8f793ae3f70ddcd229bc4a34122a3170 /src/userfunc.c
parente6174fd58d459722847c76f8c5aa1b08a49c3e0d (diff)
patch 8.2.2985: Vim9: a compiled function cannot be debuggedv8.2.2985
Problem: Vim9: a compiled function cannot be debugged. Solution: Add initial debugging support.
Diffstat (limited to 'src/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index f610c022d6..56b7df32f5 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -4395,7 +4395,7 @@ ex_defcompile(exarg_T *eap UNUSED)
&& ufunc->uf_def_status == UF_TO_BE_COMPILED
&& (ufunc->uf_flags & FC_DEAD) == 0)
{
- (void)compile_def_function(ufunc, FALSE, FALSE, NULL);
+ (void)compile_def_function(ufunc, FALSE, CT_NONE, NULL);
if (func_hashtab.ht_changed != changed)
{