1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed case where BfResolvedTypeSet inserts new types during Insert

This commit is contained in:
Brian Fiete 2024-12-31 17:22:34 -08:00
parent c003557bef
commit 316e3f345f
2 changed files with 48 additions and 20 deletions

View file

@ -11685,10 +11685,15 @@ BfType* BfModule::ResolveTypeRef_Ref(BfTypeReference* typeRef, BfPopulateType po
}
static int sCallIdx = 0;
int callIdx = sCallIdx++;
if (callIdx == 0x00006CA4)
int callIdx = 0;
if (!mCompiler->mIsResolveOnly)
{
NOP;
callIdx = sCallIdx++;
if (callIdx == 0x0000A224)
{
NOP;
}
}
BfResolvedTypeSet::LookupContext lookupCtx;