mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed null check
This commit is contained in:
parent
5e0e399209
commit
5c6eec125c
1 changed files with 1 additions and 1 deletions
|
@ -10277,7 +10277,7 @@ BfTypedValue BfExprEvaluator::MatchMethod(BfAstNode* targetSrc, BfMethodBoundExp
|
|||
{
|
||||
// Would have caused a parsing error
|
||||
}
|
||||
else if (target.mType != NULL)
|
||||
else if ((target.mType != NULL) && (origTarget.mType != NULL))
|
||||
{
|
||||
if (mModule->PreFail())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue