commit | 5a849da57c5fb54ffcffd436a9e00ef40fdf094c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 08 16:47:30 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 08 16:47:30 2020 +0200 |
tree | a3e29fde05cb840316c5e043635e64407c46087e | |
parent | 98b4f145eb89405021e23a4a37db51d60a75a1d0 [diff] [blame] |
patch 8.2.1396: Vim9: no error for unexpectedly returning a value Problem: Vim9: no error for unexpectedly returning a value. Solution: Only set the return type for lambda's. Make using function type in a function reference work.
diff --git a/src/version.c b/src/version.c index 870df17..8649ca8 100644 --- a/src/version.c +++ b/src/version.c
@@ -755,6 +755,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1396, +/**/ 1395, /**/ 1394,