mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed ref returns in delegate/function type references
This commit is contained in:
parent
b1432782a8
commit
77c3eebbae
3 changed files with 3 additions and 4 deletions
|
@ -9978,7 +9978,7 @@ BfType* BfModule::ResolveTypeRef(BfTypeReference* typeRef, BfPopulateType popula
|
|||
|
||||
bool failed = false;
|
||||
|
||||
auto returnType = ResolveTypeRef(delegateTypeRef->mReturnType, NULL, BfPopulateType_Declaration);
|
||||
auto returnType = ResolveTypeRef(delegateTypeRef->mReturnType, NULL, BfPopulateType_Declaration, BfResolveTypeRefFlag_AllowRef);
|
||||
if (returnType == NULL)
|
||||
{
|
||||
failed = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue