1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Cache ConstExpr ToString, fix const arg int comparison in cast

This commit is contained in:
Brian Fiete 2024-02-13 08:35:10 -05:00
parent 337a94b8b5
commit d341104a57
5 changed files with 27 additions and 11 deletions

View file

@ -2193,9 +2193,14 @@ void BfContext::UpdateRevisedTypes()
}
// Rebuild all types
Array<BfType*> allTypes;
for (auto type : mResolvedTypes)
allTypes.Add(type);
for (auto type : allTypes)
{
RebuildType(type);
if (!type->IsDeleting())
RebuildType(type);
}
}