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

Fixed mPropTarget kind with fakeVal

This commit is contained in:
Brian Fiete 2021-07-21 12:34:48 -07:00
parent 3fd6b5a111
commit 85a2a089f4

View file

@ -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);