mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed hash issue with failed delegate ref return type
This commit is contained in:
parent
947426b384
commit
a852bdb8cc
2 changed files with 4 additions and 4 deletions
|
@ -8864,7 +8864,10 @@ BfType* BfModule::ResolveTypeRef(BfTypeReference* typeRef, BfPopulateType popula
|
|||
|
||||
auto returnType = ResolveTypeRef(delegateTypeRef->mReturnType, NULL, BfPopulateType_Declaration);
|
||||
if (returnType == NULL)
|
||||
{
|
||||
failed = true;
|
||||
returnType = GetPrimitiveType(BfTypeCode_Var);
|
||||
}
|
||||
_CheckType(returnType);
|
||||
|
||||
BfType* functionThisType = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue