comparison src/vim9type.c @ 24895:e61a2085c89b v8.2.2985

patch 8.2.2985: Vim9: a compiled function cannot be debugged Commit: https://github.com/vim/vim/commit/e99d422bbd3e47620915bf89671673f0711671b4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 13 14:01:26 2021 +0200 patch 8.2.2985: Vim9: a compiled function cannot be debugged Problem: Vim9: a compiled function cannot be debugged. Solution: Add initial debugging support.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jun 2021 14:15:04 +0200
parents a4fda40e0bb9
children 0136c6ee1961
comparison
equal deleted inserted replaced
24894:6270bfeab91f 24895:e61a2085c89b
347 if (ufunc != NULL) 347 if (ufunc != NULL)
348 { 348 {
349 // May need to get the argument types from default values by 349 // May need to get the argument types from default values by
350 // compiling the function. 350 // compiling the function.
351 if (ufunc->uf_def_status == UF_TO_BE_COMPILED 351 if (ufunc->uf_def_status == UF_TO_BE_COMPILED
352 && compile_def_function(ufunc, TRUE, FALSE, NULL) 352 && compile_def_function(ufunc, TRUE, CT_NONE, NULL)
353 == FAIL) 353 == FAIL)
354 return NULL; 354 return NULL;
355 if (ufunc->uf_func_type == NULL) 355 if (ufunc->uf_func_type == NULL)
356 set_function_type(ufunc); 356 set_function_type(ufunc);
357 if (ufunc->uf_func_type != NULL) 357 if (ufunc->uf_func_type != NULL)