From eb6c2765959c91ddbb527f96f91ba5be199b8d41 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 31 Jan 2022 13:36:36 +0000 Subject: [PATCH] patch 8.2.4272: Vim9 expr test fails without the channel feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Problem: Vim9 expr test fails without the channel feature. (Dominique Pellé) Solution: Remove "g:" before "CheckFeature". (closes #9671) --- src/testdir/test_vim9_expr.vim | 5 +++-- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim index bf5a0d02e..c6466d39a 100644 --- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -1472,7 +1472,8 @@ func Test_expr5_fails() endfunc func Test_expr5_fails_channel() - g:CheckFeature channel + CheckFeature channel + call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_job()"], ['E1105:', 'E908:'], 1) call v9.CheckDefAndScriptFailure(["var x = 'a' .. test_null_channel()"], ['E1105:', 'E908:'], 1) endfunc @@ -1689,7 +1690,7 @@ func Test_expr6_fails() endfunc func Test_expr6_float_fails() - g:CheckFeature float + CheckFeature float call v9.CheckDefAndScriptFailure(["var x = 1.0 % 2"], ['E1035:', 'E804:'], 1) endfunc diff --git a/src/version.c b/src/version.c index 917362755..2d113b8e2 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4272, /**/ 4271, /**/ -- 2.50.1