diff --git a/IDEHelper/Compiler/BfModuleTypeUtils.cpp b/IDEHelper/Compiler/BfModuleTypeUtils.cpp index 0dffaaac8..b93321a6e 100644 --- a/IDEHelper/Compiler/BfModuleTypeUtils.cpp +++ b/IDEHelper/Compiler/BfModuleTypeUtils.cpp @@ -4477,6 +4477,7 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy } typeInstance->mBaseType = baseTypeInst; + typeInstance->mWantsGCMarking = baseTypeInst->mWantsGCMarking; typeInstance->mInheritDepth = baseTypeInst->mInheritDepth + 1; typeInstance->mHasParameterizedBase = baseTypeInst->mHasParameterizedBase; if ((baseTypeInst->IsArray()) || (baseTypeInst->IsSizedArray()) || (baseTypeInst->IsGenericTypeInstance()))