mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed mWantsGCMarking, taking into account base's mWantsGCMarking
This commit is contained in:
parent
bf3dec931a
commit
4589e7ea0e
1 changed files with 1 additions and 0 deletions
|
@ -4477,6 +4477,7 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
|
||||||
}
|
}
|
||||||
|
|
||||||
typeInstance->mBaseType = baseTypeInst;
|
typeInstance->mBaseType = baseTypeInst;
|
||||||
|
typeInstance->mWantsGCMarking = baseTypeInst->mWantsGCMarking;
|
||||||
typeInstance->mInheritDepth = baseTypeInst->mInheritDepth + 1;
|
typeInstance->mInheritDepth = baseTypeInst->mInheritDepth + 1;
|
||||||
typeInstance->mHasParameterizedBase = baseTypeInst->mHasParameterizedBase;
|
typeInstance->mHasParameterizedBase = baseTypeInst->mHasParameterizedBase;
|
||||||
if ((baseTypeInst->IsArray()) || (baseTypeInst->IsSizedArray()) || (baseTypeInst->IsGenericTypeInstance()))
|
if ((baseTypeInst->IsArray()) || (baseTypeInst->IsSizedArray()) || (baseTypeInst->IsGenericTypeInstance()))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue