mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1986: Vim9: accepting type-annotations
Problem: Vim9: accepting type-annotations Solution: Reject type annotations outside of declarations. closes: #13267 closes: #13283 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
committed by
Christian Brabandt
parent
b6d01f131c
commit
b5a0719cb7
@@ -2776,6 +2776,7 @@ typedef int (*opt_expand_cb_T)(optexpand_T *args, int *numMatches, char_u ***mat
|
||||
#define GLV_COMPILING TFN_COMPILING // variable may be defined later
|
||||
#define GLV_ASSIGN_WITH_OP TFN_ASSIGN_WITH_OP // assignment with operator
|
||||
#define GLV_PREFER_FUNC 0x10000 // prefer function above variable
|
||||
#define GLV_FOR_LOOP 0x20000 // assigning to a loop variable
|
||||
|
||||
#define DO_NOT_FREE_CNT 99999 // refcount for dict or list that should not
|
||||
// be freed.
|
||||
|
Reference in New Issue
Block a user