1
0
forked from aniani/vim

patch 8.2.4176: Vim9: cannot use imported function with call()

Problem:    Vim9: cannot use imported function with call().
Solution:   Translate the function name. (closes #9590)
This commit is contained in:
Bram Moolenaar
2022-01-22 11:00:02 +00:00
parent 0bd663a380
commit 3d8e25a6d2
3 changed files with 29 additions and 1 deletions

View File

@@ -706,7 +706,7 @@ def Test_use_autoload_import_in_fold_expression()
edit! otherfile
redraw
set foldexpr= foldmethod&
set foldexpr= foldmethod& debug=
bwipe!
delete('Xdir', 'rf')
&rtp = save_rtp
@@ -1525,6 +1525,8 @@ def Test_vim9script_autoload_call()
call another.Getother()
assert_equal('other', g:result)
assert_equal('arg', call('another.RetArg', ['arg']))
END
CheckScriptSuccess(lines)