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

Fixed null check

This commit is contained in:
Brian Fiete 2023-03-14 14:31:03 -07:00
parent 5e0e399209
commit 5c6eec125c

View file

@ -10277,7 +10277,7 @@ BfTypedValue BfExprEvaluator::MatchMethod(BfAstNode* targetSrc, BfMethodBoundExp
{ {
// Would have caused a parsing error // Would have caused a parsing error
} }
else if (target.mType != NULL) else if ((target.mType != NULL) && (origTarget.mType != NULL))
{ {
if (mModule->PreFail()) if (mModule->PreFail())
{ {