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:
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
|
// 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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue