patch 9.0.2019: Vim9: no support for funcrefs
Problem: Vim9: no support for funcrefs
Solution: Add support for object/class funcref members
closes: #11981 #12417 #12960 #12324 #13333
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
diff --git a/src/structs.h b/src/structs.h
index 5131858..a221a04 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2316,6 +2316,7 @@
int pt_copyID; // funcstack may contain pointer to partial
dict_T *pt_dict; // dict for "self"
+ object_T *pt_obj; // object method
};
typedef struct {