mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2227: Vim9: recognizing lambda is too complicated
Problem: Vim9: recognizing lambda is too complicated. Solution: Call compile_lambda() and check for NOTDONE.
This commit is contained in:
@@ -570,7 +570,7 @@ get_lambda_tv(
|
||||
&varargs, NULL, FALSE, NULL, NULL);
|
||||
if (ret == FAIL
|
||||
|| (s = skip_arrow(*arg, equal_arrow, &ret_type,
|
||||
equal_arrow ? &white_error : NULL)) == NULL)
|
||||
equal_arrow || in_vim9script() ? &white_error : NULL)) == NULL)
|
||||
{
|
||||
if (types_optional)
|
||||
ga_clear_strings(&argtypes);
|
||||
|
Reference in New Issue
Block a user