Mercurial > vim
comparison src/proto/vim9execute.pro @ 20255:aac52c32a91f v8.2.0683
patch 8.2.0683: Vim9: parsing type does not always work
Commit: https://github.com/vim/vim/commit/5adc55cb746893c6ddf7865ff654582902dee2e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 2 23:12:58 2020 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 May 2020 23:15:03 +0200 |
parents | 94eda51ba9ba |
children | 5950284a517f |
comparison
equal
deleted
inserted
replaced
20254:c7a2968adc24 | 20255:aac52c32a91f |
---|---|
1 /* vim9execute.c */ | 1 /* vim9execute.c */ |
2 int call_def_function(ufunc_T *ufunc, int argc, typval_T *argv, typval_T *rettv); | 2 int call_def_function(ufunc_T *ufunc, int argc_arg, typval_T *argv, typval_T *rettv); |
3 void ex_disassemble(exarg_T *eap); | 3 void ex_disassemble(exarg_T *eap); |
4 int tv2bool(typval_T *tv); | 4 int tv2bool(typval_T *tv); |
5 int check_not_string(typval_T *tv); | 5 int check_not_string(typval_T *tv); |
6 int set_ref_in_dfunc(ufunc_T *ufunc, int copyID); | |
6 /* vim: set ft=c : */ | 7 /* vim: set ft=c : */ |