mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Mixin fix for closed module
This commit is contained in:
parent
eedbd9b8f5
commit
65a28a97bb
1 changed files with 6 additions and 1 deletions
|
@ -12120,6 +12120,11 @@ BfModuleMethodInstance BfModule::GetMethodInstance(BfTypeInstance* typeInst, BfM
|
||||||
|
|
||||||
if (!methodInstance->mMethodDef->mIsAbstract)
|
if (!methodInstance->mMethodDef->mIsAbstract)
|
||||||
{
|
{
|
||||||
|
if ((methodInstance->mMethodDef->mMethodType == BfMethodType_Mixin) && (!methodInstance->mDeclModule->mIsModuleMutable))
|
||||||
|
{
|
||||||
|
// Wait until unreified
|
||||||
|
}
|
||||||
|
else
|
||||||
AddMethodToWorkList(methodInstance);
|
AddMethodToWorkList(methodInstance);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue