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)
diff --git a/src/testdir/test_vim9_import.vim b/src/testdir/test_vim9_import.vim
index 3734709..f06bea2 100644
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -706,7 +706,7 @@
edit! otherfile
redraw
- set foldexpr= foldmethod&
+ set foldexpr= foldmethod& debug=
bwipe!
delete('Xdir', 'rf')
&rtp = save_rtp
@@ -1525,6 +1525,8 @@
call another.Getother()
assert_equal('other', g:result)
+
+ assert_equal('arg', call('another.RetArg', ['arg']))
END
CheckScriptSuccess(lines)