1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed null generic arguments

This commit is contained in:
Brian Fiete 2020-06-20 19:55:13 -07:00
parent 4d53f185d8
commit fdc42519d8

View file

@ -5323,6 +5323,7 @@ void BfExprEvaluator::AddCallDependencies(BfMethodInstance* methodInstance)
{
if (genericArg->IsWrappableType())
genericArg = mModule->GetWrappedStructType(genericArg);
if (genericArg != NULL)
mModule->AddDependency(genericArg, mModule->mCurTypeInstance, BfDependencyMap::DependencyFlag_LocalUsage);
}
}