mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed autocomplete for var*/let* identifiers
This commit is contained in:
parent
dbbbed4528
commit
630fad5b74
1 changed files with 10 additions and 0 deletions
|
@ -1845,6 +1845,16 @@ void BfAutoComplete::CheckTypeRef(BfTypeReference* typeRef, bool mayBeIdentifier
|
|||
CheckIdentifier(namedTypeRef->mNameNode, isInExpression);
|
||||
return;
|
||||
}
|
||||
else if (auto varTypeRef = BfNodeDynCast<BfVarTypeReference>(typeRef))
|
||||
{
|
||||
CheckIdentifier(varTypeRef->mVarToken, isInExpression);
|
||||
return;
|
||||
}
|
||||
else if (auto varTypeRef = BfNodeDynCast<BfLetTypeReference>(typeRef))
|
||||
{
|
||||
CheckIdentifier(varTypeRef->mLetToken, isInExpression);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (auto qualifiedTypeRef = BfNodeDynCast<BfQualifiedTypeReference>(typeRef))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue