mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Type deletion protection in mPopulateTypeWorkList
This commit is contained in:
parent
667642ca52
commit
c73cf12f5e
2 changed files with 4 additions and 4 deletions
|
@ -9927,9 +9927,8 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetCollapseRegions(BfCompiler* bfCo
|
|||
else
|
||||
{
|
||||
int dollarPos = (int)emitParser->mFileName.LastIndexOf('$');
|
||||
if (dollarPos == -1)
|
||||
return -1;
|
||||
outString += emitParser->mFileName.Substring(dollarPos + 1);
|
||||
if (dollarPos != -1)
|
||||
outString += emitParser->mFileName.Substring(dollarPos + 1);
|
||||
}
|
||||
outString += "\n";
|
||||
}
|
||||
|
|
|
@ -464,7 +464,8 @@ bool BfContext::ProcessWorkList(bool onlyReifiedTypes, bool onlyReifiedMethods)
|
|||
else
|
||||
useModule = mUnreifiedModule;
|
||||
}
|
||||
useModule->PopulateType(type, BfPopulateType_Full);
|
||||
if (!type->IsDeleting())
|
||||
useModule->PopulateType(type, BfPopulateType_Full);
|
||||
mCompiler->mStats.mQueuedTypesProcessed++;
|
||||
mCompiler->UpdateCompletion();
|
||||
didWork = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue