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

Fixed erroneous 'this' assignment check

This commit is contained in:
Brian Fiete 2020-08-30 06:21:34 -07:00
parent c105819b4c
commit 047f969060

View file

@ -3469,7 +3469,15 @@ BfTypedValue BfExprEvaluator::LookupIdentifier(BfAstNode* refNode, const StringI
BfTypedValue result;
if (thisValue.HasType())
{
result = LookupField(identifierNode, thisValue, findName, BfLookupFieldFlag_IsImplicitThis);
if (mResultFieldInstance == NULL)
{
mResultLocalVar = NULL;
mResultLocalVarRefNode = NULL;
}
}
if (mPropDef != NULL)
{
if (forcedIFaceLookup)