mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fix crash in BfCompiler
This commit is contained in:
parent
aaa08e9a4e
commit
528d5ffb78
1 changed files with 6 additions and 1 deletions
|
@ -7489,7 +7489,12 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory)
|
||||||
|
|
||||||
Array<BfTypeInstance*> typeWorkList;
|
Array<BfTypeInstance*> typeWorkList;
|
||||||
|
|
||||||
|
Array<BfType*> typeList;
|
||||||
|
typeList.Reserve(mContext->mResolvedTypes.GetCount());
|
||||||
for (auto type : mContext->mResolvedTypes)
|
for (auto type : mContext->mResolvedTypes)
|
||||||
|
typeList.Add(type);
|
||||||
|
|
||||||
|
for (auto type : typeList)
|
||||||
{
|
{
|
||||||
auto module = type->GetModule();
|
auto module = type->GetModule();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue