comparison src/proto/evalbuffer.pro @ 26935:ccb9be1cdd71 v8.2.3996

patch 8.2.3996: Vim9: type checking lacks information about declared type Commit: https://github.com/vim/vim/commit/078a46161e8b1b30bf306d6c1f4f0af7c616a989 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 4 15:17:03 2022 +0000 patch 8.2.3996: Vim9: type checking lacks information about declared type Problem: Vim9: type checking for list and dict lacks information about declared type. Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to store two types in each entry.
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Jan 2022 16:30:06 +0100
parents 06f29b6ea04a
children aa613a3084b9
comparison
equal deleted inserted replaced
26934:2d3dd8065e25 26935:ccb9be1cdd71
14 void f_bufwinid(typval_T *argvars, typval_T *rettv); 14 void f_bufwinid(typval_T *argvars, typval_T *rettv);
15 void f_bufwinnr(typval_T *argvars, typval_T *rettv); 15 void f_bufwinnr(typval_T *argvars, typval_T *rettv);
16 void f_deletebufline(typval_T *argvars, typval_T *rettv); 16 void f_deletebufline(typval_T *argvars, typval_T *rettv);
17 void f_getbufinfo(typval_T *argvars, typval_T *rettv); 17 void f_getbufinfo(typval_T *argvars, typval_T *rettv);
18 void f_getbufline(typval_T *argvars, typval_T *rettv); 18 void f_getbufline(typval_T *argvars, typval_T *rettv);
19 type_T *ret_f_getline(int argcount, type_T **argtypes);
20 void f_getline(typval_T *argvars, typval_T *rettv); 19 void f_getline(typval_T *argvars, typval_T *rettv);
21 void f_setbufline(typval_T *argvars, typval_T *rettv); 20 void f_setbufline(typval_T *argvars, typval_T *rettv);
22 void f_setline(typval_T *argvars, typval_T *rettv); 21 void f_setline(typval_T *argvars, typval_T *rettv);
23 void switch_buffer(bufref_T *save_curbuf, buf_T *buf); 22 void switch_buffer(bufref_T *save_curbuf, buf_T *buf);
24 void restore_buffer(bufref_T *save_curbuf); 23 void restore_buffer(bufref_T *save_curbuf);