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

Fix populate issue after adding new members via emission

This commit is contained in:
Brian Fiete 2022-07-01 08:35:29 -07:00
parent d7d6559043
commit ec1cf1c441

View file

@ -4924,7 +4924,9 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
if (hadNewMembers) if (hadNewMembers)
{ {
DoPopulateType(resolvedTypeRef, populateType); // We need to avoid passing in BfPopulateType_Interfaces_All because it could cause us to miss out on new member processing,
// including resizing the method group table
DoPopulateType(resolvedTypeRef, BF_MAX(populateType, BfPopulateType_Data));
return; return;
} }