summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-06 21:06:30 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-06 21:06:30 +0200
commitb68b346e6db6d3f848e0a89905fcd7777b73c5d8 (patch)
tree566601b221f3af448beea080d27dc3772c027b9e /src/structs.h
parent54ed0dff2913f9c973f6ab04b3c96372bdf07406 (diff)
downloadvim-git-b68b346e6db6d3f848e0a89905fcd7777b73c5d8.tar.gz
patch 8.2.0703: Vim9: closure cannot store value in outer contextv8.2.0703
Problem: Vim9: closure cannot store value in outer context. Solution: Make storing value in outer context work. Make :disassemble accept a function reference.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 7fd325a82..69233a967 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -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;