0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1184: interface of an object is not recognized when checking type

Problem:    Interface of an object is not recognized when checking type.
Solution:   Use the interface implemented by an object.
This commit is contained in:
Bram Moolenaar
2023-01-12 15:01:32 +00:00
parent 0233bdfa2b
commit a94bd9d939
5 changed files with 66 additions and 1 deletions

View File

@@ -1500,6 +1500,7 @@ struct class_S
// interfaces declared for the class
int class_interface_count;
char_u **class_interfaces; // allocated array of names
class_T **class_interfaces_cl; // interfaces (counts as reference)
// class members: "static varname"
int class_class_member_count;