1
0
forked from aniani/vim

patch 8.2.2646: Vim9: error for not using string doesn't mentionargument

Problem:    Vim9: error for not using string doesn't mention argument.
Solution:   Add argument number.
This commit is contained in:
Bram Moolenaar
2021-03-22 22:21:26 +01:00
parent 49f1e9ec3e
commit f28f2ac425
7 changed files with 76 additions and 42 deletions

View File

@@ -9,8 +9,8 @@ varnumber_T tv_get_number_chk(typval_T *varp, int *denote);
varnumber_T tv_get_bool(typval_T *varp);
varnumber_T tv_get_bool_chk(typval_T *varp, int *denote);
float_T tv_get_float(typval_T *varp);
int check_for_string(typval_T *tv);
int check_for_nonempty_string(typval_T *tv);
int check_for_string(typval_T *tv, int arg);
int check_for_nonempty_string(typval_T *tv, int arg);
char_u *tv_get_string(typval_T *varp);
char_u *tv_get_string_strict(typval_T *varp);
char_u *tv_get_string_buf(typval_T *varp, char_u *buf);