| commit | 68db996b621b98066fb7ab7028ed5c6aaa3954a8 | [log] [tgz] |
|---|---|---|
| author | Bram Moolenaar <Bram@vim.org> | Sun May 09 23:19:22 2021 +0200 |
| committer | Bram Moolenaar <Bram@vim.org> | Sun May 09 23:19:22 2021 +0200 |
| tree | 1f2bdef2e7049b051dcbe12c5effde327322b3eb | |
| parent | 918b08957c51ae079f8f456198f8a1869a3d2a4c [diff] [blame] |
patch 8.2.2846: Vim9: "echo Func()" does not give an error for using void
Problem: Vim9: "echo Func()" does not give an error for a function without
a return value.
Solution: Give an error. Be more specific about why a value is invalid.
diff --git a/src/version.c b/src/version.c index e8827c4..4843be1 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2846, +/**/ 2845, /**/ 2844,