patch 8.2.1744: Vim9: using ":const!" is weird
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
diff --git a/src/vim.h b/src/vim.h
index 208128e..9da878e 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2135,9 +2135,9 @@
} estack_arg_T;
// Flags for assignment functions.
-#define LET_IS_CONST 1 // ":const"
-#define LET_FORCEIT 2 // ":const!" (LET_IS_CONST is also set)
-#define LET_NO_COMMAND 4 // "var = expr" without ":let" or ":const"
+#define ASSIGN_FINAL 1 // ":final"
+#define ASSIGN_CONST 2 // ":const"
+#define ASSIGN_NO_DECL 4 // "name = expr" without ":let" or ":const"
#include "ex_cmds.h" // Ex command defines
#include "spell.h" // spell checking stuff