mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Null check fix for case expr out check
This commit is contained in:
parent
1db184e7d8
commit
7412bb6cde
1 changed files with 1 additions and 1 deletions
|
@ -3762,7 +3762,7 @@ void BfExprEvaluator::Visit(BfCaseExpression* caseExpr)
|
|||
}
|
||||
else if (auto unaryOpExpr = BfNodeDynCast<BfUnaryOperatorExpression>(arg))
|
||||
{
|
||||
if (unaryOpExpr->mOpToken->mToken == BfToken_Out)
|
||||
if ((unaryOpExpr->mOpToken != NULL) && (unaryOpExpr->mOpToken->mToken == BfToken_Out))
|
||||
{
|
||||
hasOut = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue