mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 10:08:00 +02:00
Null check in LoadProperty
This commit is contained in:
parent
54e02c59cd
commit
946a72d21d
1 changed files with 1 additions and 1 deletions
|
@ -4563,7 +4563,7 @@ BfTypedValue BfExprEvaluator::LoadProperty(BfAstNode* targetSrc, BfTypedValue ta
|
|||
}
|
||||
}
|
||||
|
||||
bool isBaseLookup = typeInstance != target.mType;
|
||||
bool isBaseLookup = (target.mType) && (typeInstance != target.mType);
|
||||
if ((isBaseLookup) && (target.mType->IsWrappableType()))
|
||||
isBaseLookup = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue