Problem: Patch v9.1.1765 was wrong
Solution: Roll back the change, it's correct to have call_func()
initialize the type, so that not each function has to
do this on its own.
This reverts commit
19fa46a469743653a16a48c4222482d9f33e30a2.
closes: #18317
Signed-off-by: Christian Brabandt <cb@256bit.org>
void
f_isinf(typval_T *argvars, typval_T *rettv)
{
- rettv->v_type = VAR_NUMBER;
- rettv->vval.v_number = 0;
-
if (in_vim9script() && check_for_float_or_nr_arg(argvars, 0) == FAIL)
return;
void
f_isnan(typval_T *argvars, typval_T *rettv)
{
- rettv->v_type = VAR_NUMBER;
- rettv->vval.v_number = 0;
-
if (in_vim9script() && check_for_float_or_nr_arg(argvars, 0) == FAIL)
return;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1767,
/**/
1766,
/**/