Mercurial > vim
diff src/proto/typval.pro @ 24210:083f07f99e20 v8.2.2646
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Commit: https://github.com/vim/vim/commit/f28f2ac425600b88da0bdcc12a82cd620f575681
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 22 22:21:26 2021 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Mar 2021 22:30:03 +0100 |
parents | d12ef361d9de |
children | 35603c7991d7 |
line wrap: on
line diff
--- a/src/proto/typval.pro +++ b/src/proto/typval.pro @@ -9,8 +9,8 @@ varnumber_T tv_get_number_chk(typval_T * 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);