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:
parent
d7d6559043
commit
ec1cf1c441
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue