summaryrefslogtreecommitdiff
path: root/src/proto/vim9compile.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-24 23:45:24 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-24 23:45:24 +0200
commit6ff71d8b7fbdf667a2f119a2487302e240961816 (patch)
tree90e14c4469b447139f22501d5ff942441c90ece8 /src/proto/vim9compile.pro
parentf40e51a880a95f94dbbbecc9476559506c2cc345 (diff)
downloadvim-git-6ff71d8b7fbdf667a2f119a2487302e240961816.tar.gz
patch 8.2.0820: Vim9: function type isn't set until compiledv8.2.0820
Problem: Vim9: function type isn't set until compiled. Solution: Set function type early.
Diffstat (limited to 'src/proto/vim9compile.pro')
-rw-r--r--src/proto/vim9compile.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/vim9compile.pro b/src/proto/vim9compile.pro
index 67c722400..0f3ebc394 100644
--- a/src/proto/vim9compile.pro
+++ b/src/proto/vim9compile.pro
@@ -10,6 +10,7 @@ char_u *to_name_const_end(char_u *arg);
int assignment_len(char_u *p, int *heredoc);
int check_vim9_unlet(char_u *name);
int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx);
+void set_function_type(ufunc_T *ufunc);
void delete_instr(isn_T *isn);
void delete_def_function(ufunc_T *ufunc);
void free_def_functions(void);