mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed enum issues utilizing Underlying in initializer
This commit is contained in:
parent
f7b3f88868
commit
fa251b3439
3 changed files with 28 additions and 2 deletions
|
@ -3590,7 +3590,13 @@ void BfModule::DoPopulateType_InitSearches(BfTypeInstance* typeInstance)
|
|||
}
|
||||
|
||||
void BfModule::DoPopulateType_FinishEnum(BfTypeInstance* typeInstance, bool underlyingTypeDeferred, HashContext* dataMemberHashCtx, BfType* unionInnerType)
|
||||
{
|
||||
{
|
||||
if (typeInstance->mDefineState >= BfTypeDefineState_DefinedAndMethodsSlotting)
|
||||
{
|
||||
// Already locked
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeInstance->IsEnum())
|
||||
{
|
||||
int64 min = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue