1
0
forked from aniani/vim

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:
Bram Moolenaar
2021-06-12 15:58:16 +02:00
parent 7423577180
commit a993153538
5 changed files with 41 additions and 6 deletions

View File

@@ -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;