mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Relaxed assert
This commit is contained in:
parent
d881337a7e
commit
5763ac7d83
1 changed files with 1 additions and 1 deletions
|
@ -5982,7 +5982,7 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, BfMethodInstance*
|
||||||
|
|
||||||
if (methodInstance->GetOwner()->IsUnspecializedType())
|
if (methodInstance->GetOwner()->IsUnspecializedType())
|
||||||
{
|
{
|
||||||
BF_ASSERT((!methodInstance->mIRFunction) || (methodInstance == mModule->mCurMethodInstance));
|
BF_ASSERT((!methodInstance->mIRFunction) || (methodInstance == mModule->mCurMethodInstance) || (methodInstance->mMethodDef->mIsLocalMethod));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mFunctionBindResult != NULL)
|
if (mFunctionBindResult != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue