mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed mPropTarget kind with fakeVal
This commit is contained in:
parent
3fd6b5a111
commit
85a2a089f4
1 changed files with 3 additions and 1 deletions
|
@ -4825,7 +4825,9 @@ BfTypedValue BfExprEvaluator::LookupField(BfAstNode* targetSrc, BfTypedValue tar
|
|||
else if (isBaseLookup)
|
||||
{
|
||||
if (target.mValue.IsFake())
|
||||
mPropTarget = BfTypedValue(target.mValue, curCheckType);
|
||||
{
|
||||
mPropTarget = BfTypedValue(target.mValue, curCheckType, target.mKind);
|
||||
}
|
||||
else
|
||||
{
|
||||
mPropTarget = mModule->Cast(targetSrc, target, curCheckType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue