mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
PerformAssignment_CheckOp methodInst null check
This commit is contained in:
parent
e25549061c
commit
38d47fa254
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue