1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Mixin fix for closed module

This commit is contained in:
Brian Fiete 2020-07-27 17:41:07 -07:00
parent eedbd9b8f5
commit 65a28a97bb

View file

@ -12120,7 +12120,12 @@ BfModuleMethodInstance BfModule::GetMethodInstance(BfTypeInstance* typeInst, BfM
if (!methodInstance->mMethodDef->mIsAbstract)
{
AddMethodToWorkList(methodInstance);
if ((methodInstance->mMethodDef->mMethodType == BfMethodType_Mixin) && (!methodInstance->mDeclModule->mIsModuleMutable))
{
// Wait until unreified
}
else
AddMethodToWorkList(methodInstance);
}
else
{