Mercurial > vim
view .gitattributes @ 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 | ccc02b39fb5e |
children |