1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

PerformAssignment_CheckOp methodInst null check

This commit is contained in:
Brian Fiete 2022-09-15 08:40:22 -07:00
parent e25549061c
commit 38d47fa254

View file

@ -20073,6 +20073,8 @@ BfTypedValue BfExprEvaluator::PerformAssignment_CheckOp(BfAssignmentExpression*
continue;
auto methodInst = mModule->GetRawMethodInstanceAtIdx(checkTypeInst, operatorDef->mIdx);
if (methodInst == NULL)
continue;
if (methodInst->GetParamCount() != 1)
continue;