Mercurial > vim
comparison src/proto/list.pro @ 23588:510088f8c66f v8.2.2336
patch 8.2.2336: Vim9: not possible to extend dictionary with different type
Commit: https://github.com/vim/vim/commit/b0e6b513648db7035046613431a4aa9d71ef4653
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 12 20:23:40 2021 +0100
patch 8.2.2336: Vim9: not possible to extend dictionary with different type
Problem: Vim9: it is not possible to extend a dictionary with different
item types.
Solution: Add extendnew(). (closes #7666)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Jan 2021 20:30:07 +0100 |
parents | 36fc73078bce |
children | 1816ea68c022 |
comparison
equal
deleted
inserted
replaced
23587:901fb2bf09d1 | 23588:510088f8c66f |
---|---|
50 void f_map(typval_T *argvars, typval_T *rettv); | 50 void f_map(typval_T *argvars, typval_T *rettv); |
51 void f_mapnew(typval_T *argvars, typval_T *rettv); | 51 void f_mapnew(typval_T *argvars, typval_T *rettv); |
52 void f_add(typval_T *argvars, typval_T *rettv); | 52 void f_add(typval_T *argvars, typval_T *rettv); |
53 void f_count(typval_T *argvars, typval_T *rettv); | 53 void f_count(typval_T *argvars, typval_T *rettv); |
54 void f_extend(typval_T *argvars, typval_T *rettv); | 54 void f_extend(typval_T *argvars, typval_T *rettv); |
55 void f_extendnew(typval_T *argvars, typval_T *rettv); | |
55 void f_insert(typval_T *argvars, typval_T *rettv); | 56 void f_insert(typval_T *argvars, typval_T *rettv); |
56 void f_remove(typval_T *argvars, typval_T *rettv); | 57 void f_remove(typval_T *argvars, typval_T *rettv); |
57 void f_reverse(typval_T *argvars, typval_T *rettv); | 58 void f_reverse(typval_T *argvars, typval_T *rettv); |
58 void f_reduce(typval_T *argvars, typval_T *rettv); | 59 void f_reduce(typval_T *argvars, typval_T *rettv); |
59 /* vim: set ft=c : */ | 60 /* vim: set ft=c : */ |