mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
bbdcb44988
1 changed files with 11 additions and 0 deletions
|
@ -10200,6 +10200,17 @@ void BfExprEvaluator::Visit(BfInitializerExpression* initExpr)
|
|||
|
||||
if ((fieldResult) || (mPropDef != NULL))
|
||||
{
|
||||
if (mResultFieldInstance != NULL)
|
||||
{
|
||||
auto autoComplete = GetAutoComplete();
|
||||
if ((autoComplete != NULL) && (autoComplete->IsAutocompleteNode(identifierNode)))
|
||||
{
|
||||
auto fieldDef = mResultFieldInstance->GetFieldDef();
|
||||
if (fieldDef != NULL)
|
||||
autoComplete->SetDefinitionLocation(fieldDef->GetRefNode());
|
||||
}
|
||||
}
|
||||
|
||||
mResult = fieldResult;
|
||||
PerformAssignment(assignExpr, true, BfTypedValue());
|
||||
mResult = BfTypedValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue