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:
parent
4d53f185d8
commit
fdc42519d8
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue