mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed module mutability issue
This commit is contained in:
parent
71aea8107f
commit
29fbafb91f
1 changed files with 2 additions and 0 deletions
|
@ -4971,6 +4971,8 @@ void BfCompiler::PopulateReified()
|
||||||
if ((implMethod != NULL) && ((!implMethod->mMethodInstanceGroup->IsImplemented()) || (!implMethod->mIsReified)))
|
if ((implMethod != NULL) && ((!implMethod->mMethodInstanceGroup->IsImplemented()) || (!implMethod->mIsReified)))
|
||||||
{
|
{
|
||||||
didWork = true;
|
didWork = true;
|
||||||
|
if (!typeInst->mModule->mIsModuleMutable)
|
||||||
|
typeInst->mModule->StartExtension();
|
||||||
typeInst->mModule->GetMethodInstance(implMethod);
|
typeInst->mModule->GetMethodInstance(implMethod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue