Run this shell command
vim -Nu NONE -S <(tee <<'EOF'
vim9script
def X(f: func): any
return f()
enddef
echo X(() => "HERE")
EOF
)
An error is given
E117: Unknown function: f
Expected
Either it works. Or a better error message is given. Perhaps
E1267: Function name must start with a capital: f()
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/d2933b5b-7b2e-9447-2631-223881aa0369%40raelity.com.