commit | a9931535387e5eb4e6ce62f2a661484de4a1757d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 12 15:58:16 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 12 15:58:16 2021 +0200 |
tree | 4c6c45dab74c4c5bf3f27939d4ddb8a2282c77dd | |
parent | 742357718000927d652b1a98d313a3950571c8ec [diff] [blame] |
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.
diff --git a/src/userfunc.c b/src/userfunc.c index 64e815d..f610c02 100644 --- a/src/userfunc.c +++ b/src/userfunc.c
@@ -1377,7 +1377,7 @@ goto errret; } else - fp->uf_ret_type = &t_any; + fp->uf_ret_type = &t_unknown; } fp->uf_lines = newlines;