comparison src/proto/vim9compile.pro @ 20953:6b4b887a12f0 v8.2.1028

patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable Commit: https://github.com/vim/vim/commit/e55b1c098d9dc04c960e6575bb554b5130af8989 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 21 15:52:59 2020 +0200 patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable Problem: Vim9: no error for declaring buffer, window, etc. variable. Solution: Give an error. Unify the error messages.
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Jun 2020 16:00:04 +0200
parents 1693ca876049
children afed2045ffc9
comparison
equal deleted inserted replaced
20952:c297dfafbc7d 20953:6b4b887a12f0
8 char *type_name(type_T *type, char **tofree); 8 char *type_name(type_T *type, char **tofree);
9 int get_script_item_idx(int sid, char_u *name, int check_writable); 9 int get_script_item_idx(int sid, char_u *name, int check_writable);
10 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); 10 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
11 char_u *to_name_const_end(char_u *arg); 11 char_u *to_name_const_end(char_u *arg);
12 int assignment_len(char_u *p, int *heredoc); 12 int assignment_len(char_u *p, int *heredoc);
13 void vim9_declare_error(char_u *name);
13 int check_vim9_unlet(char_u *name); 14 int check_vim9_unlet(char_u *name);
14 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx); 15 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx);
15 void set_function_type(ufunc_T *ufunc); 16 void set_function_type(ufunc_T *ufunc);
16 void delete_instr(isn_T *isn); 17 void delete_instr(isn_T *isn);
17 void clear_def_function(ufunc_T *ufunc); 18 void clear_def_function(ufunc_T *ufunc);