1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fix when findName is empty

This commit is contained in:
Brian Fiete 2020-03-24 07:08:54 -07:00
parent f8f4fd859c
commit cdabb18d9f

View file

@ -3421,7 +3421,7 @@ DbgTypedValue DbgExprEvaluator::LookupIdentifier(BfAstNode* identifierNode, bool
}
String findName = identifierNode->ToString();
if ((findName[0] == '$') && (findName != "$prim"))
if ((findName.StartsWith('$')) && (findName != "$prim"))
{
if (IsAutoCompleteNode(identifierNode))
{