mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +02:00
Fixed mixin crash
This commit is contained in:
parent
01d52131df
commit
26205eefcd
1 changed files with 3 additions and 0 deletions
|
@ -13739,6 +13739,9 @@ void BfExprEvaluator::InjectMixin(BfAstNode* targetSrc, BfTypedValue target, boo
|
||||||
argValue = arg->mTypedValue;
|
argValue = arg->mTypedValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!argValue)
|
||||||
|
continue;
|
||||||
|
|
||||||
localVar->mResolvedType = argValue.mType;
|
localVar->mResolvedType = argValue.mType;
|
||||||
if (argValue.mType->IsRef())
|
if (argValue.mType->IsRef())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue