Mercurial > vim
comparison src/proto/vim9type.pro @ 27503:4cea92e99a5a v8.2.4279
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Commit: https://github.com/vim/vim/commit/8133018f50bc447570825801e93d5ed67e8dac90
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 1 12:11:58 2022 +0000
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Problem: Vim9: cannot change item type with map() after range().
Solution: Split the return type in current type and declared type.
(closes #9665)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 01 Feb 2022 13:15:03 +0100 |
parents | 374c7d5a096a |
children | f00a7a2bee21 |
comparison
equal
deleted
inserted
replaced
27502:aad2a09123be | 27503:4cea92e99a5a |
---|---|
23 void common_type(type_T *type1, type_T *type2, type_T **dest, garray_T *type_gap); | 23 void common_type(type_T *type1, type_T *type2, type_T **dest, garray_T *type_gap); |
24 int push_type_stack(cctx_T *cctx, type_T *type); | 24 int push_type_stack(cctx_T *cctx, type_T *type); |
25 int push_type_stack2(cctx_T *cctx, type_T *type, type_T *decl_type); | 25 int push_type_stack2(cctx_T *cctx, type_T *type, type_T *decl_type); |
26 void set_type_on_stack(cctx_T *cctx, type_T *type, int offset); | 26 void set_type_on_stack(cctx_T *cctx, type_T *type, int offset); |
27 type_T *get_type_on_stack(cctx_T *cctx, int offset); | 27 type_T *get_type_on_stack(cctx_T *cctx, int offset); |
28 type_T *get_decl_type_on_stack(cctx_T *cctx, int offset); | |
28 type_T *get_member_type_from_stack(int count, int skip, type_T **decl_type, cctx_T *cctx); | 29 type_T *get_member_type_from_stack(int count, int skip, type_T **decl_type, cctx_T *cctx); |
29 char *vartype_name(vartype_T type); | 30 char *vartype_name(vartype_T type); |
30 char *type_name(type_T *type, char **tofree); | 31 char *type_name(type_T *type, char **tofree); |
31 void f_typename(typval_T *argvars, typval_T *rettv); | 32 void f_typename(typval_T *argvars, typval_T *rettv); |
32 /* vim: set ft=c : */ | 33 /* vim: set ft=c : */ |