patch 8.2.2268: Vim9: list unpack seen as declaration
Problem: Vim9: list unpack seen as declaration.
Solution: Check for "var". (closes #7594)
diff --git a/src/vim.h b/src/vim.h
index f19a4fe..a0ee0d6 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2146,6 +2146,7 @@
#define ASSIGN_FINAL 1 // ":final"
#define ASSIGN_CONST 2 // ":const"
#define ASSIGN_NO_DECL 4 // "name = expr" without ":let"/":const"/":final"
+#define ASSIGN_DECL 8 // may declare variable if it does not exist
#include "ex_cmds.h" // Ex command defines
#include "spell.h" // spell checking stuff