1
0
forked from aniani/vim

patch 8.2.1571: Vim9: count() third argument cannot be "true"

Problem:    Vim9: count() third argument cannot be "true".
Solution:   use tv_get_bool_chk(). (closes #6818)
This commit is contained in:
Bram Moolenaar
2020-09-02 21:31:22 +02:00
parent 9d8bfae50f
commit 119f557230
4 changed files with 8 additions and 2 deletions

View File

@@ -283,7 +283,6 @@ tv_get_bool(typval_T *varp)
tv_get_bool_chk(typval_T *varp, int *denote)
{
return tv_get_bool_or_number_chk(varp, denote, TRUE);
}
#ifdef FEAT_FLOAT