patch 8.2.1016: Vim9: test fails when channel feature is missing
Problem: Vim9: test fails when channel feature is missing.
Solution: Process an :if command when skipping
diff --git a/src/version.c b/src/version.c
index 8b5ad4e..2842859 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1016,
+/**/
1015,
/**/
1014,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 8017716..8f799a2 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -6838,6 +6838,7 @@
p = skipwhite(p);
if (cctx.ctx_skip == SKIP_YES
+ && ea.cmdidx != CMD_if
&& ea.cmdidx != CMD_elseif
&& ea.cmdidx != CMD_else
&& ea.cmdidx != CMD_endif)