mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Added constraints for operators, 'external' constraints for methods
This commit is contained in:
parent
00a92dd0a7
commit
8945a906f7
24 changed files with 1561 additions and 509 deletions
|
@ -3754,6 +3754,15 @@ String BfTypeUtils::TypeToString(BfTypeReference* typeRef)
|
|||
return "???";
|
||||
}
|
||||
|
||||
bool BfTypeUtils::TypeEquals(BfType* typeA, BfType* typeB, BfType* selfType)
|
||||
{
|
||||
if (typeA->IsSelf())
|
||||
typeA = selfType;
|
||||
if (typeB->IsSelf())
|
||||
typeB = selfType;
|
||||
return typeA == typeB;
|
||||
}
|
||||
|
||||
String BfTypeUtils::TypeToString(BfTypeDef* typeDef, BfTypeNameFlags typeNameFlags)
|
||||
{
|
||||
String str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue