mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed some Go To Definition issues
This commit is contained in:
parent
f56667ff61
commit
71c020c4a1
2 changed files with 9 additions and 7 deletions
|
@ -2444,9 +2444,9 @@ void BfAutoComplete::CheckLocalRef(BfAstNode* identifierNode, BfLocalVariable* v
|
|||
if (IsAutocompleteNode(identifierNode))
|
||||
{
|
||||
if (varDecl->mNameNode != NULL)
|
||||
SetDefinitionLocation(varDecl->mNameNode);
|
||||
SetDefinitionLocation(varDecl->mNameNode, true);
|
||||
else if (varDecl->mIsThis)
|
||||
SetDefinitionLocation(mModule->mCurTypeInstance->mTypeDef->GetRefNode());
|
||||
SetDefinitionLocation(mModule->mCurTypeInstance->mTypeDef->GetRefNode(), true);
|
||||
}
|
||||
}
|
||||
else if (mResolveType == BfResolveType_GetSymbolInfo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue