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

Ctor override implRequired

This commit is contained in:
Brian Fiete 2025-01-23 08:30:31 -08:00
parent 22238e04ef
commit 624e36b89b

View file

@ -6755,6 +6755,12 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
if (methodDef->mMethodType == BfMethodType_CtorNoBody)
declRequired = true;
if ((methodDef->mMethodType == BfMethodType_Ctor) && (methodDef->mIsOverride))
{
// From extension
implRequired = true;
}
if ((methodDef->mIsStatic) &&
((methodDef->mMethodType == BfMethodType_Dtor) || (methodDef->mMethodType == BfMethodType_Ctor)))
{