diff src/proto/dict.pro @ 24764:3907cf9be745 v8.2.2920

patch 8.2.2920: still a way to shadow a builtin function Commit: https://github.com/vim/vim/commit/6f1d2aa437744a7cb0206fdaa543a788c5a56c79 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 1 21:21:55 2021 +0200 patch 8.2.2920: still a way to shadow a builtin function Problem: Still a way to shadow a builtin function. (Yasuhiro Matsumoto) Solution: Check the key when using extend(). (issue https://github.com/vim/vim/issues/8302)
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Jun 2021 21:30:03 +0200
parents 285cde4b8d0e
children cfbf40f749b0
line wrap: on
line diff
--- a/src/proto/dict.pro
+++ b/src/proto/dict.pro
@@ -13,6 +13,7 @@ dictitem_T *dictitem_alloc(char_u *key);
 void dictitem_remove(dict_T *dict, dictitem_T *item);
 void dictitem_free(dictitem_T *item);
 dict_T *dict_copy(dict_T *orig, int deep, int copyID);
+int dict_wrong_func_name(dict_T *d, typval_T *tv, char_u *name);
 int dict_add(dict_T *d, dictitem_T *item);
 int dict_add_number(dict_T *d, char *key, varnumber_T nr);
 int dict_add_bool(dict_T *d, char *key, varnumber_T nr);