comparison src/proto/vim9script.pro @ 32475:a44d7e4ac1c0 v9.0.1569

patch 9.0.1569: cannot use "this.member" in lambda in class method Commit: https://github.com/vim/vim/commit/2bd6a09691fc71974ca7ab5973f8e08fdd2a889a Author: h-east <h.east.727@gmail.com> Date: Fri May 19 19:01:17 2023 +0100 patch 9.0.1569: cannot use "this.member" in lambda in class method Problem: Cannot use "this.member" in lambda in class method. Solution: Adjust check for reserved keyword. (Hirohito Higashi, closes #12416, closes #12076, closes #12336)
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 May 2023 20:15:04 +0200
parents 307f68a41b03
children 448aef880252
comparison
equal deleted inserted replaced
32474:a715c20f474f 32475:a44d7e4ac1c0
17 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); 17 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg);
18 void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member); 18 void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member);
19 void hide_script_var(scriptitem_T *si, int idx, int func_defined); 19 void hide_script_var(scriptitem_T *si, int idx, int func_defined);
20 svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find); 20 svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find);
21 int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where); 21 int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where);
22 int check_reserved_name(char_u *name, cctx_T *cctx); 22 int check_reserved_name(char_u *name, int is_objm_access);
23 /* vim: set ft=c : */ 23 /* vim: set ft=c : */