mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed attributed indexer expression
This commit is contained in:
parent
4ee40c8a06
commit
25a7d5fed1
2 changed files with 7 additions and 4 deletions
|
@ -7707,8 +7707,9 @@ BfExpression* BfReducer::CreateIndexerExpression(BfExpression* target)
|
|||
if (attributeDirective != NULL)
|
||||
{
|
||||
BfAttributedExpression* attribExpr = mAlloc->Alloc<BfAttributedExpression>();
|
||||
attribExpr->mAttributes = attributeDirective;
|
||||
MEMBER_SET(attribExpr, mExpression, indexerExpr);
|
||||
ReplaceNode(indexerExpr, attribExpr);
|
||||
attribExpr->mExpression = indexerExpr;
|
||||
MEMBER_SET(attribExpr, mAttributes, attributeDirective);
|
||||
return attribExpr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue