summaryrefslogtreecommitdiff
path: root/src/vim9type.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/vim9type.c
parente6174fd58d459722847c76f8c5aa1b08a49c3e0d (diff)
downloadvim-git-e99d422bbd3e47620915bf89671673f0711671b4.tar.gz
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/vim9type.c')
-rw-r--r--src/vim9type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9type.c b/src/vim9type.c
index 4dec1e770..f3718e468 100644
--- a/src/vim9type.c
+++ b/src/vim9type.c
@@ -349,7 +349,7 @@ typval2type_int(typval_T *tv, int copyID, garray_T *type_gap, int do_member)
// May need to get the argument types from default values by
// compiling the function.
if (ufunc->uf_def_status == UF_TO_BE_COMPILED
- && compile_def_function(ufunc, TRUE, FALSE, NULL)
+ && compile_def_function(ufunc, TRUE, CT_NONE, NULL)
== FAIL)
return NULL;
if (ufunc->uf_func_type == NULL)