# HG changeset patch # User Bram Moolenaar # Date 1592599504 -7200 # Node ID 808e39c257de667c01be1842fbff64a9126677eb # Parent 75950e88ec4f213a61eee3386c1331c00fcf15a0 patch 8.2.1016: Vim9: test fails when channel feature is missing Commit: https://github.com/vim/vim/commit/7e380030c15d961421a3fcda6cc358e2d112f4f8 Author: Bram Moolenaar Date: Fri Jun 19 22:35:44 2020 +0200 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 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1016, +/**/ 1015, /**/ 1014, diff --git a/src/vim9compile.c b/src/vim9compile.c --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -6838,6 +6838,7 @@ compile_def_function(ufunc_T *ufunc, int 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)