Problem: Vim9: cannot list autoload function.
Solution: Don't give an error for using # when listing a function.
(closes #9703)
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)
name = prefixed;
}
}
- else if (vim9script && name != NULL
+ else if (paren && vim9script && name != NULL
&& vim_strchr(name, AUTOLOAD_CHAR) != NULL)
{
emsg(_(e_cannot_use_name_with_hash_in_vim9_script_use_export_instead));
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4308,
/**/
4307,
/**/