mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
patch 9.0.1334: using tt_member for the class leads to mistakes
Problem: Using tt_member for the class leads to mistakes. Solution: Add a separate tt_class field.
This commit is contained in:
@@ -1451,7 +1451,7 @@ struct type_S {
|
||||
int8_T tt_min_argcount; // number of non-optional arguments
|
||||
char_u tt_flags; // TTFLAG_ values
|
||||
type_T *tt_member; // for list, dict, func return type
|
||||
// for class: class_T
|
||||
class_T *tt_class; // for class and object
|
||||
type_T **tt_args; // func argument types, allocated
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user