Skip to content

Commit

Permalink
patch 8.2.3786: test fails because of using Vim9 syntax in legacy fun…
Browse files Browse the repository at this point in the history
…ction

Problem:    Test fails because of using Vim9 syntax in legacy function.
Solution:   Add "call".
  • Loading branch information
brammool committed Dec 11, 2021
1 parent 48c0196 commit 4f16e9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/testdir/test_functions.vim
Expand Up @@ -2239,7 +2239,7 @@ func Test_call()
let Time = 'localtime'
call Time()
END
CheckScriptFailure(lines, 'E1085:')
call CheckScriptFailure(lines, 'E1085:')
endfunc

func Test_char2nr()
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -753,6 +753,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3786,
/**/
3785,
/**/
Expand Down

0 comments on commit 4f16e9d

Please sign in to comment.