1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed circular reference constraint checking issue with typealias

This commit is contained in:
Brian Fiete 2022-02-16 09:23:35 -05:00
parent d5485d25e3
commit a8d06ea96d

View file

@ -8913,7 +8913,7 @@ BfType* BfModule::ResolveTypeResult(BfTypeReference* typeRef, BfType* resolvedTy
Fail(StrFormat("'%s' is inaccessible due to its protection level", TypeToString(typeInstance).c_str()), typeRef); // CS0122
}
if ((populateType > BfPopulateType_Identity) && (!ResolveTypeResult_Validate(typeRef, resolvedTypeRef)))
if ((populateType > BfPopulateType_IdentityNoRemapAlias) && (!ResolveTypeResult_Validate(typeRef, resolvedTypeRef)))
return NULL;
if (populateType != BfPopulateType_IdentityNoRemapAlias)