mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
patch 9.1.1577: Vim9: no generic support yet
Problem: Vim9: no generic support yet
Solution: Add support for generic functions, funcrefs and object/class
methods (Yegappan Lakshmanan).
closes: #17313
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b486ed8266
commit
3416cee36f
@@ -3715,6 +3715,16 @@ find_ex_command(
|
||||
// "&option" can be followed by "->" or "=", check below
|
||||
}
|
||||
|
||||
if (*p == '<' && vim9)
|
||||
{
|
||||
// generic function
|
||||
if (skip_generic_func_type_args(&p) == FAIL)
|
||||
{
|
||||
eap->cmdidx = CMD_SIZE;
|
||||
return p;
|
||||
}
|
||||
}
|
||||
|
||||
swp = skipwhite(p);
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user