mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed unqualified static lookups in mixins
This commit is contained in:
parent
9933e4a353
commit
a3020720c9
3 changed files with 10 additions and 3 deletions
|
@ -3114,8 +3114,8 @@ BfTypedValue BfExprEvaluator::LookupIdentifier(BfAstNode* refNode, const StringI
|
|||
}
|
||||
}
|
||||
|
||||
if (!thisValue)
|
||||
thisValue = BfTypedValue(mModule->mCurTypeInstance);
|
||||
if (!thisValue.HasType())
|
||||
thisValue = BfTypedValue(mModule->mCurTypeInstance);
|
||||
BfTypedValue result = LookupField(identifierNode, thisValue, findName, BfLookupFieldFlag_IsImplicitThis);
|
||||
if (mPropDef != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue