Mercurial > vim
diff src/version.c @ 22266:23f5750146d9 v8.2.1682
patch 8.2.1682: Vim9: const works in an unexpected way
Commit: https://github.com/vim/vim/commit/dbeecb2b6bc5bf90b7345807e0a313fe890a7c7b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 14 18:15:09 2020 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Sep 2020 18:30:04 +0200 |
parents | e0a4d029cb87 |
children | 2eaee3396f7a |
line wrap: on
line diff