1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed generic inner type alias with type extensions

This commit is contained in:
Brian Fiete 2020-06-23 11:54:28 -07:00
parent 8169587b4c
commit 0154b75923
4 changed files with 62 additions and 8 deletions

View file

@ -1704,7 +1704,7 @@ public:
BfTypeInstance* GetOuterType(BfType* type);
bool IsInnerType(BfType* checkInnerType, BfType* checkOuterType);
bool IsInnerType(BfTypeDef* checkInnerType, BfTypeDef* checkOuterType);
bool TypeHasParent(BfTypeDef* checkChildTypeDef, BfTypeDef* checkParentTypeDef);
bool TypeHasParentOrEquals(BfTypeDef* checkChildTypeDef, BfTypeDef* checkParentTypeDef);
BfTypeDef* FindCommonOuterType(BfTypeDef* type, BfTypeDef* type2);
bool TypeIsSubTypeOf(BfTypeInstance* srcType, BfTypeInstance* wantType, bool checkAccessibility = true);
int GetTypeDistance(BfType* fromType, BfType* toType);