mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Fixed go to definition on type name that matches identifier
This commit is contained in:
parent
1f5a56488b
commit
904d2aae6c
1 changed files with 1 additions and 1 deletions
|
@ -2116,7 +2116,7 @@ void BfAutoComplete::CheckTypeRef(BfTypeReference* typeRef, bool mayBeIdentifier
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mayBeIdentifier)
|
if ((mayBeIdentifier) && (mResolveType != BfResolveType_GoToDefinition))
|
||||||
{
|
{
|
||||||
if (auto namedTypeRef = BfNodeDynCast<BfNamedTypeReference>(typeRef))
|
if (auto namedTypeRef = BfNodeDynCast<BfNamedTypeReference>(typeRef))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue