mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-13 05:44:11 +02:00
Fixed circular reference constraint checking issue with typealias
This commit is contained in:
parent
d5485d25e3
commit
a8d06ea96d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
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;
|
return NULL;
|
||||||
|
|
||||||
if (populateType != BfPopulateType_IdentityNoRemapAlias)
|
if (populateType != BfPopulateType_IdentityNoRemapAlias)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue