patch 8.2.3278: Vim9: error when adding 1 to float

Problem:    Vim9: error when adding 1 to float.
Solution:   Accept t_number_bool. (closes #8687)
diff --git a/src/vim9compile.c b/src/vim9compile.c
index c5359fe..a487d00 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -7111,7 +7111,8 @@
 		if (
 #ifdef FEAT_FLOAT
 		    // If variable is float operation with number is OK.
-		    !(expected == &t_float && stacktype == &t_number) &&
+		    !(expected == &t_float && (stacktype == &t_number
+			    || stacktype == &t_number_bool)) &&
 #endif
 		    need_type(stacktype, expected, -1, 0, cctx,
 							 FALSE, FALSE) == FAIL)