commit | dbeecb2b6bc5bf90b7345807e0a313fe890a7c7b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Sep 14 18:15:09 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Sep 14 18:15:09 2020 +0200 |
tree | ec6d6811457956a75a6deaf63566e0d73690e7ab | |
parent | 08052228a72074cdb0165e65f01b2fa8fce867ea [diff] [blame] |
patch 8.2.1682: Vim9: const works in an unexpected way Problem: Vim9: const works in an unexpected way. Solution: ":const" only disallows changing the variable, not the value. Make "list[0] = 9" work at the script level.
diff --git a/src/version.c b/src/version.c index f8d7212..d5996e9 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1682, +/**/ 1681, /**/ 1680,