mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed unknown-sized array case in BfInvocationExpression
This commit is contained in:
parent
cd038089a7
commit
19820cc44a
1 changed files with 1 additions and 1 deletions
|
@ -19701,7 +19701,7 @@ void BfExprEvaluator::DoInvocation(BfInvocationExpression* invocationExpr)
|
|||
{
|
||||
arrSize = constant->mInt32;
|
||||
}
|
||||
else
|
||||
else if (constant->mConstType != BfConstType_Undef)
|
||||
mModule->Fail("Non-negative integer expected", indexerExpr->mArguments[0]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue