commit | 0b4c66c67a083f25816b9cdb8e76a41e02d9f560 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Sep 14 21:39:44 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Sep 14 21:39:44 2020 +0200 |
tree | b371efc32dbbbda792f5177e1269c0eb7f2a3d64 | |
parent | efd5d8a967ba80f9e2826c35be98344d8f00af77 [diff] [blame] |
patch 8.2.1685: Vim9: cannot declare a constant value Problem: Vim9: cannot declare a constant value. Solution: Introduce ":const!".
diff --git a/src/eval.c b/src/eval.c index 18f3a5b..79c5488 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -1200,7 +1200,7 @@ 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;