Mercurial > vim
comparison src/proto/vim9script.pro @ 24438:5c6ccab68d1e v8.2.2759
patch 8.2.2759: Vim9: for loop infers type of loop variable
Commit: https://github.com/vim/vim/commit/f2253963c28e4791092620df6a6bb238c33168df
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 13 20:53:13 2021 +0200
patch 8.2.2759: Vim9: for loop infers type of loop variable
Problem: Vim9: for loop infers type of loop variable.
Solution: Do not get the member type. (closes https://github.com/vim/vim/issues/8102)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 13 Apr 2021 21:00:05 +0200 |
parents | e3dbf2e58c6a |
children | 9c404d78d767 |
comparison
equal
deleted
inserted
replaced
24437:c63e5ce43b69 | 24438:5c6ccab68d1e |
---|---|
10 void mark_imports_for_reload(int sid); | 10 void mark_imports_for_reload(int sid); |
11 void ex_import(exarg_T *eap); | 11 void ex_import(exarg_T *eap); |
12 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose); | 12 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose); |
13 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, evalarg_T *evalarg, void *cctx); | 13 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, evalarg_T *evalarg, void *cctx); |
14 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); | 14 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); |
15 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type); | 15 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member); |
16 void hide_script_var(scriptitem_T *si, int idx, int func_defined); | 16 void hide_script_var(scriptitem_T *si, int idx, int func_defined); |
17 void free_all_script_vars(scriptitem_T *si); | 17 void free_all_script_vars(scriptitem_T *si); |
18 svar_T *find_typval_in_script(typval_T *dest); | 18 svar_T *find_typval_in_script(typval_T *dest); |
19 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where); | 19 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where); |
20 /* vim: set ft=c : */ | 20 /* vim: set ft=c : */ |