mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed null ResolveSelfType error case
This commit is contained in:
parent
dfbb09a8ac
commit
c8394bef26
1 changed files with 4 additions and 1 deletions
|
@ -9504,7 +9504,10 @@ BfType* BfModule::ResolveSelfType(BfType* type, BfType* selfType)
|
||||||
{
|
{
|
||||||
if (!type->IsUnspecializedTypeVariation())
|
if (!type->IsUnspecializedTypeVariation())
|
||||||
return type;
|
return type;
|
||||||
return ResolveGenericType(type, NULL, NULL, selfType);
|
BfType* resolvedType = ResolveGenericType(type, NULL, NULL, selfType);
|
||||||
|
if (resolvedType != NULL)
|
||||||
|
return resolvedType;
|
||||||
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
BfType* BfModule::ResolveType(BfType* lookupType, BfPopulateType populateType, BfResolveTypeRefFlags resolveFlags)
|
BfType* BfModule::ResolveType(BfType* lookupType, BfPopulateType populateType, BfResolveTypeRefFlags resolveFlags)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue