patch 9.0.1045: in a class object members cannot be initialized
Problem: In a class object members cannot be initialized.
Solution: Support initializing object members. Make "dissassemble" work on
an object method.
diff --git a/src/structs.h b/src/structs.h
index 1395a20..46f9b0c 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1463,8 +1463,9 @@
* Entry for an object member variable.
*/
typedef struct {
- char_u *om_name; // allocated
+ char_u *om_name; // allocated
type_T *om_type;
+ char_u *om_init; // allocated
} objmember_T;
// "class_T": used for v_class of typval of VAR_CLASS