mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed errors in sized array constructor
This commit is contained in:
parent
d3ca45d80a
commit
2a1bfbfa3f
1 changed files with 2 additions and 5 deletions
|
@ -18840,10 +18840,7 @@ void BfExprEvaluator::Visit(BfInvocationExpression* invocationExpr)
|
|||
checkTarget = indexerExpr->mTarget;
|
||||
}
|
||||
|
||||
SetAndRestoreValue<bool> prevIgnoreError(mModule->mIgnoreErrors, true);
|
||||
auto resolvedType = mModule->ResolveTypeRef(checkTarget, NULL, BfPopulateType_Identity);
|
||||
prevIgnoreError.Restore();
|
||||
|
||||
auto resolvedType = mModule->ResolveTypeRef(checkTarget, NULL, BfPopulateType_Identity, BfResolveTypeRefFlag_IgnoreLookupError);
|
||||
if (resolvedType != NULL)
|
||||
{
|
||||
BfType* curType = resolvedType;
|
||||
|
@ -25185,4 +25182,4 @@ void BfExprEvaluator::Visit(BfBinaryOperatorExpression* binOpExpr)
|
|||
}
|
||||
|
||||
PerformBinaryOperation(binOpExpr->mLeft, binOpExpr->mRight, binOpExpr->mOp, binOpExpr->mOpToken, BfBinOpFlag_None);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue