mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed interface implementation on enums
This commit is contained in:
parent
90626036c6
commit
3e8d90d300
1 changed files with 1 additions and 1 deletions
|
@ -3918,7 +3918,7 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
|
||||||
deferredErrorNode = baseTypeRef;
|
deferredErrorNode = baseTypeRef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (!baseType->IsInterface())
|
||||||
{
|
{
|
||||||
deferredError = "Invalid underlying enum type";
|
deferredError = "Invalid underlying enum type";
|
||||||
deferredErrorNode = baseTypeRef;
|
deferredErrorNode = baseTypeRef;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue