summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-04 17:29:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-04 17:29:15 +0100
commit0395f88b84b8917aeff1f7026cf968de0f55ba22 (patch)
tree1fa01012e64ddc3e654a3b8613feaa6d70757fd6 /src
parentc9af617ac62b15bfcbbfe8c54071146e2af01f65 (diff)
downloadvim-git-0395f88b84b8917aeff1f7026cf968de0f55ba22.tar.gz
patch 8.2.4864: Vim9: script test failsv8.2.4864
Problem: Vim9: script test fails. Solution: Remove "if" around declaration.
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_vim9_script.vim6
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim
index 33dd787b1..dd33a923a 100644
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -4132,10 +4132,8 @@ def Test_echo_uninit_variables()
var Var_func: func
var var_string: string
var var_blob: blob
- if has('job')
- var var_job: job
- var var_channel: channel
- endif
+ var var_job: job
+ var var_channel: channel
var var_list: list<any>
var var_dict: dict<any>
diff --git a/src/version.c b/src/version.c
index 089994447..19223239a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4864,
+/**/
4863,
/**/
4862,