1
0
forked from aniani/vim

patch 8.2.0683: Vim9: parsing type does not always work

Problem:    Vim9: parsing type does not always work.
Solution:   Handle func type without return value.  Test more closures.
            Fix type check offset.  Fix garbage collection.
This commit is contained in:
Bram Moolenaar
2020-05-02 23:12:58 +02:00
parent 1c0d44f8ef
commit 5adc55cb74
6 changed files with 84 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
/* vim9execute.c */
int call_def_function(ufunc_T *ufunc, int argc, typval_T *argv, typval_T *rettv);
int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, typval_T *rettv);
void ex_disassemble(exarg_T *eap);
int tv2bool(typval_T *tv);
int check_not_string(typval_T *tv);
int set_ref_in_dfunc(ufunc_T *ufunc, int copyID);
/* vim: set ft=c : */