mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-03 23:05:59 +02:00
Merge pull request #1833 from disarray2077/patch-3
Fixed errors in sized array constructor
This commit is contained in:
commit
c3c864de03
1 changed files with 2 additions and 5 deletions
|
@ -18840,10 +18840,7 @@ void BfExprEvaluator::Visit(BfInvocationExpression* invocationExpr)
|
||||||
checkTarget = indexerExpr->mTarget;
|
checkTarget = indexerExpr->mTarget;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetAndRestoreValue<bool> prevIgnoreError(mModule->mIgnoreErrors, true);
|
auto resolvedType = mModule->ResolveTypeRef(checkTarget, NULL, BfPopulateType_Identity, BfResolveTypeRefFlag_IgnoreLookupError);
|
||||||
auto resolvedType = mModule->ResolveTypeRef(checkTarget, NULL, BfPopulateType_Identity);
|
|
||||||
prevIgnoreError.Restore();
|
|
||||||
|
|
||||||
if (resolvedType != NULL)
|
if (resolvedType != NULL)
|
||||||
{
|
{
|
||||||
BfType* curType = resolvedType;
|
BfType* curType = resolvedType;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue