0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

patch 8.2.3786: test fails because of using Vim9 syntax in legacy function

Problem:    Test fails because of using Vim9 syntax in legacy function.
Solution:   Add "call".
This commit is contained in:
Bram Moolenaar 2021-12-11 18:46:29 +00:00
parent 48c0196378
commit 4f16e9de98
2 changed files with 3 additions and 1 deletions

View File

@ -2239,7 +2239,7 @@ func Test_call()
let Time = 'localtime' let Time = 'localtime'
call Time() call Time()
END END
CheckScriptFailure(lines, 'E1085:') call CheckScriptFailure(lines, 'E1085:')
endfunc endfunc
func Test_char2nr() func Test_char2nr()

View File

@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
3786,
/**/ /**/
3785, 3785,
/**/ /**/