1
0
Fork 0
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:
Brian Fiete 2020-09-10 11:25:53 -07:00
parent 947426b384
commit a852bdb8cc
2 changed files with 4 additions and 4 deletions

View file

@ -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;