diff src/structs.h @ 31704:69ee530cac28 v9.0.1184

patch 9.0.1184: interface of an object is not recognized when checking type Commit: https://github.com/vim/vim/commit/a94bd9d9396183eb7781f8d6a5a0e6e97442e9ed Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 12 15:01:32 2023 +0000 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 Jan 2023 16:15:04 +0100
parents 2f1af1b2f82d
children 48431422f766
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -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;