mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed erroneous 'this' assignment check
This commit is contained in:
parent
c105819b4c
commit
047f969060
1 changed files with 8 additions and 0 deletions
|
@ -3469,7 +3469,15 @@ BfTypedValue BfExprEvaluator::LookupIdentifier(BfAstNode* refNode, const StringI
|
||||||
|
|
||||||
BfTypedValue result;
|
BfTypedValue result;
|
||||||
if (thisValue.HasType())
|
if (thisValue.HasType())
|
||||||
|
{
|
||||||
result = LookupField(identifierNode, thisValue, findName, BfLookupFieldFlag_IsImplicitThis);
|
result = LookupField(identifierNode, thisValue, findName, BfLookupFieldFlag_IsImplicitThis);
|
||||||
|
if (mResultFieldInstance == NULL)
|
||||||
|
{
|
||||||
|
mResultLocalVar = NULL;
|
||||||
|
mResultLocalVarRefNode = NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (mPropDef != NULL)
|
if (mPropDef != NULL)
|
||||||
{
|
{
|
||||||
if (forcedIFaceLookup)
|
if (forcedIFaceLookup)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue