mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0703: Vim9: closure cannot store value in outer context
Problem: Vim9: closure cannot store value in outer context. Solution: Make storing value in outer context work. Make :disassemble accept a function reference.
This commit is contained in:
@@ -1812,6 +1812,7 @@ struct partial_S
|
||||
typval_T *pt_argv; // arguments in allocated array
|
||||
|
||||
dict_T *pt_dict; // dict for "self"
|
||||
int pt_copyID; // funcstack may contain pointer to partial
|
||||
};
|
||||
|
||||
typedef struct AutoPatCmd_S AutoPatCmd;
|
||||
|
Reference in New Issue
Block a user