mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.2983: Vim9: an inline function requires specifying the return type
Problem: Vim9: an inline function requires specifying the return type. Solution: Make the return type optional.
This commit is contained in:
@@ -1377,7 +1377,7 @@ get_lambda_tv(
|
||||
goto errret;
|
||||
}
|
||||
else
|
||||
fp->uf_ret_type = &t_any;
|
||||
fp->uf_ret_type = &t_unknown;
|
||||
}
|
||||
|
||||
fp->uf_lines = newlines;
|
||||
|
Reference in New Issue
Block a user