diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-22 14:58:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-22 14:58:47 +0200 |
commit | 7a3fe3e180bdbce8f193abdf399559c5154bdaae (patch) | |
tree | 842eac4734c81db7a49ddaaf20b4fea732bb8162 /src/proto/dict.pro | |
parent | a74901929e999a0052c1ce388ab09359c10cbb0d (diff) |
patch 8.2.3200: Vim9: hard to guess where a type error is givenv8.2.3200
Problem: Vim9: hard to guess where a type error is given.
Solution: Add the function name where possible. (closes #8608)
Diffstat (limited to 'src/proto/dict.pro')
-rw-r--r-- | src/proto/dict.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/dict.pro b/src/proto/dict.pro index 7789d4c6ca..5d76385385 100644 --- a/src/proto/dict.pro +++ b/src/proto/dict.pro @@ -37,7 +37,7 @@ char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); char_u *skip_literal_key(char_u *key); char_u *get_literal_key(char_u **arg); int eval_dict(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int literal); -void dict_extend(dict_T *d1, dict_T *d2, char_u *action); +void dict_extend(dict_T *d1, dict_T *d2, char_u *action, char *func_name); dictitem_T *dict_lookup(hashitem_T *hi); int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); void f_items(typval_T *argvars, typval_T *rettv); |