1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Relaxed assert

This commit is contained in:
Brian Fiete 2022-05-27 06:29:52 -07:00
parent d881337a7e
commit 5763ac7d83

View file

@ -5982,7 +5982,7 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, BfMethodInstance*
if (methodInstance->GetOwner()->IsUnspecializedType())
{
BF_ASSERT((!methodInstance->mIRFunction) || (methodInstance == mModule->mCurMethodInstance));
BF_ASSERT((!methodInstance->mIRFunction) || (methodInstance == mModule->mCurMethodInstance) || (methodInstance->mMethodDef->mIsLocalMethod));
}
if (mFunctionBindResult != NULL)