Skip to content

Commit c5f98ee

Browse files
committed
patch 7.4.1273
Problem: assert_false(v:false) still fails. Solution: Fix the typo.
1 parent 1701481 commit c5f98ee

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9217,7 +9217,7 @@ assert_bool(typval_T *argvars, int isTrue)
92179217
garray_T ga;
92189218

92199219
if (argvars[0].v_type == VAR_SPECIAL
9220-
&& argvars[0].vval.v_number == (isTrue ? VVAL_TRUE : VV_FALSE))
9220+
&& argvars[0].vval.v_number == (isTrue ? VVAL_TRUE : VVAL_FALSE))
92219221
return;
92229222
if (argvars[0].v_type != VAR_NUMBER
92239223
|| (get_tv_number_chk(&argvars[0], &error) == 0) == isTrue

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
1273,
745747
/**/
746748
1272,
747749
/**/

0 commit comments

Comments
 (0)