diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-14 21:39:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-14 21:39:44 +0200 |
commit | 0b4c66c67a083f25816b9cdb8e76a41e02d9f560 (patch) | |
tree | b371efc32dbbbda792f5177e1269c0eb7f2a3d64 /src/eval.c | |
parent | efd5d8a967ba80f9e2826c35be98344d8f00af77 (diff) |
patch 8.2.1685: Vim9: cannot declare a constant valuev8.2.1685
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 18f3a5bc05..79c5488096 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1200,7 +1200,7 @@ set_var_lval( char_u *endp, typval_T *rettv, int copy, - int flags, // LET_IS_CONST and/or LET_NO_COMMAND + int flags, // LET_IS_CONST, LET_FORCEIT, LET_NO_COMMAND char_u *op) { int cc; |