1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

Support interface binding with complex 'Self' returns ie: Result<Self>

This commit is contained in:
Brian Fiete 2022-01-08 09:28:48 -05:00
parent b47f230345
commit dc6f940561
3 changed files with 26 additions and 2 deletions

View file

@ -659,6 +659,8 @@ public:
virtual bool IsDot() override { return mTypeDef->mTypeCode == BfTypeCode_Dot; }
virtual bool IsVar() override { return mTypeDef->mTypeCode == BfTypeCode_Var; }
virtual bool IsLet() override { return mTypeDef->mTypeCode == BfTypeCode_Let; }
virtual bool IsUnspecializedType() override { return mTypeDef->mTypeCode == BfTypeCode_Self; }
virtual bool IsUnspecializedTypeVariation() override { return mTypeDef->mTypeCode == BfTypeCode_Self; }
};
class BfTypeInstance;