mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Removed sized array initialization from tuples
This commit is contained in:
parent
bb34a468bb
commit
5bed292e87
7 changed files with 24 additions and 40 deletions
|
@ -15554,16 +15554,7 @@ void BfExprEvaluator::InitializedSizedArray(BfSizedArrayType* arrayType, BfToken
|
|||
}
|
||||
|
||||
void BfExprEvaluator::Visit(BfTupleExpression* tupleExpr)
|
||||
{
|
||||
if (mExpectingType != NULL)
|
||||
{
|
||||
if (mExpectingType->IsSizedArray())
|
||||
{
|
||||
InitializedSizedArray((BfSizedArrayType*)mExpectingType, tupleExpr->mOpenParen, tupleExpr->mValues, tupleExpr->mCommas, tupleExpr->mCloseParen);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
BfTupleType* tupleType = NULL;
|
||||
bool hadFullMatch = false;
|
||||
if ((mExpectingType != NULL) && (mExpectingType->IsTuple()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue