comparison src/proto/vim9compile.pro @ 20943:1693ca876049 v8.2.1023

patch 8.2.1023: Vim9: redefining a function uses a new index every time Commit: https://github.com/vim/vim/commit/0cb5bcf5836de83f7d64fb01d3ce708caacaf66c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 20 18:19:09 2020 +0200 patch 8.2.1023: Vim9: redefining a function uses a new index every time Problem: Vim9: redefining a function uses a new index every time. Solution: When redefining a function clear the contents and re-use the index.
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Jun 2020 18:30:04 +0200
parents bacc2ab11810
children 6b4b887a12f0
comparison
equal deleted inserted replaced
20942:484ce6d14734 20943:1693ca876049
12 int assignment_len(char_u *p, int *heredoc); 12 int assignment_len(char_u *p, int *heredoc);
13 int check_vim9_unlet(char_u *name); 13 int check_vim9_unlet(char_u *name);
14 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx); 14 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx);
15 void set_function_type(ufunc_T *ufunc); 15 void set_function_type(ufunc_T *ufunc);
16 void delete_instr(isn_T *isn); 16 void delete_instr(isn_T *isn);
17 void delete_def_function(ufunc_T *ufunc); 17 void clear_def_function(ufunc_T *ufunc);
18 void free_def_functions(void); 18 void free_def_functions(void);
19 /* vim: set ft=c : */ 19 /* vim: set ft=c : */