1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed autocomplete flashing when typing 'for'

This commit is contained in:
Brian Fiete 2020-09-07 07:04:21 -07:00
parent 1bd56fcae7
commit f3074986ea

View file

@ -2581,7 +2581,11 @@ void BfExprEvaluator::Visit(BfErrorNode* errorNode)
auto autoComplete = GetAutoComplete();
if (autoComplete != NULL)
{
if (auto tokenNode = BfNodeDynCast<BfTokenNode>(errorNode->mRefNode))
return;
autoComplete->CheckIdentifier(errorNode->mRefNode, true);
}
}
void BfExprEvaluator::Visit(BfTypeReference* typeRef)