patch 8.2.4308: Vim9: cannot list autoload function
Problem: Vim9: cannot list autoload function.
Solution: Don't give an error for using # when listing a function.
(closes #9703)
diff --git a/src/testdir/test_vim9_import.vim b/src/testdir/test_vim9_import.vim
index be453c6..1e8851e 100644
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -1886,6 +1886,10 @@
assert_equal('other', g:result)
assert_equal('arg', call('another.RetArg', ['arg']))
+
+ verbose function another.Getother
+ # should we disallow this?
+ verbose function another#Getother
END
v9.CheckScriptSuccess(lines)