mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +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;
|
||||
if (thisValue.HasType())
|
||||
{
|
||||
result = LookupField(identifierNode, thisValue, findName, BfLookupFieldFlag_IsImplicitThis);
|
||||
if (mResultFieldInstance == NULL)
|
||||
{
|
||||
mResultLocalVar = NULL;
|
||||
mResultLocalVarRefNode = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (mPropDef != NULL)
|
||||
{
|
||||
if (forcedIFaceLookup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue