1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed forcing creating of func with unreified methods

This commit is contained in:
Brian Fiete 2019-09-07 07:10:02 -07:00
parent b1720508ec
commit e911f02288

View file

@ -4097,7 +4097,7 @@ void BfModule::AddMethodToWorkList(BfMethodInstance* methodInstance)
return;
}
if ((!methodInstance->mIRFunction) && (!methodInstance->mIsUnspecialized))
if ((!mCompiler->mIsResolveOnly) && (!methodInstance->mIRFunction) && (methodInstance->mIsReified) && (!methodInstance->mIsUnspecialized))
{
if (!mIsModuleMutable)
StartExtension();