mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fix Property Go To Definition
This commit is contained in:
parent
6e869c5ac5
commit
f7b6bf4ba2
1 changed files with 1 additions and 1 deletions
|
@ -4919,7 +4919,7 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar
|
||||||
if ((autoComplete != NULL) && (autoComplete->IsAutocompleteNode(targetSrc)))
|
if ((autoComplete != NULL) && (autoComplete->IsAutocompleteNode(targetSrc)))
|
||||||
{
|
{
|
||||||
if (autoComplete->mIsGetDefinition)
|
if (autoComplete->mIsGetDefinition)
|
||||||
autoComplete->SetDefinitionLocation(basePropDef->GetRefNode(), true);
|
autoComplete->SetDefinitionLocation(basePropDef->GetRefNode());
|
||||||
autoComplete->mDefProp = basePropDef;
|
autoComplete->mDefProp = basePropDef;
|
||||||
autoComplete->mDefType = baseTypeInst->mTypeDef;
|
autoComplete->mDefType = baseTypeInst->mTypeDef;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue