patch 8.2.1685: Vim9: cannot declare a constant value
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
diff --git a/src/vim.h b/src/vim.h
index 60a565b..208128e 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2136,7 +2136,8 @@
// Flags for assignment functions.
#define LET_IS_CONST 1 // ":const"
-#define LET_NO_COMMAND 2 // "var = expr" without ":let" or ":const"
+#define LET_FORCEIT 2 // ":const!" (LET_IS_CONST is also set)
+#define LET_NO_COMMAND 4 // "var = expr" without ":let" or ":const"
#include "ex_cmds.h" // Ex command defines
#include "spell.h" // spell checking stuff