mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2165: Vim9: assignment to dict member does not work
Problem: Vim9: assignment to dict member does not work. Solution: Fix recognizing dict member. (closes #7484)
This commit is contained in:
12
src/vim.h
12
src/vim.h
@@ -2536,16 +2536,18 @@ typedef enum {
|
||||
#define COPYID_MASK (~0x1)
|
||||
|
||||
// Values for trans_function_name() argument:
|
||||
#define TFN_INT 1 // internal function name OK
|
||||
#define TFN_QUIET 2 // no error messages
|
||||
#define TFN_NO_AUTOLOAD 4 // do not use script autoloading
|
||||
#define TFN_NO_DEREF 8 // do not dereference a Funcref
|
||||
#define TFN_READ_ONLY 16 // will not change the var
|
||||
#define TFN_INT 0x01 // internal function name OK
|
||||
#define TFN_QUIET 0x02 // no error messages
|
||||
#define TFN_NO_AUTOLOAD 0x04 // do not use script autoloading
|
||||
#define TFN_NO_DEREF 0x08 // do not dereference a Funcref
|
||||
#define TFN_READ_ONLY 0x10 // will not change the var
|
||||
#define TFN_NO_DECL 0x20 // only used for GLV_NO_DECL
|
||||
|
||||
// Values for get_lval() flags argument:
|
||||
#define GLV_QUIET TFN_QUIET // no error messages
|
||||
#define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD // do not use script autoloading
|
||||
#define GLV_READ_ONLY TFN_READ_ONLY // will not change the var
|
||||
#define GLV_NO_DECL TFN_NO_DECL // assignment without :var or :let
|
||||
|
||||
#define DO_NOT_FREE_CNT 99999 // refcount for dict or list that should not
|
||||
// be freed.
|
||||
|
Reference in New Issue
Block a user