mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Add comment for SetDefinitionLocation change
This commit is contained in:
parent
9cbc638873
commit
1d30beb2d2
1 changed files with 3 additions and 0 deletions
|
@ -4919,7 +4919,10 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar
|
|||
if ((autoComplete != NULL) && (autoComplete->IsAutocompleteNode(targetSrc)))
|
||||
{
|
||||
if (autoComplete->mIsGetDefinition)
|
||||
{
|
||||
//NOTE: passing 'force=true' in here causes https://github.com/beefytech/Beef/issues/1064
|
||||
autoComplete->SetDefinitionLocation(basePropDef->GetRefNode());
|
||||
}
|
||||
autoComplete->mDefProp = basePropDef;
|
||||
autoComplete->mDefType = baseTypeInst->mTypeDef;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue