mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02:21 +02:00
Ctor override implRequired
This commit is contained in:
parent
22238e04ef
commit
624e36b89b
1 changed files with 6 additions and 0 deletions
|
@ -6755,6 +6755,12 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
|
||||||
if (methodDef->mMethodType == BfMethodType_CtorNoBody)
|
if (methodDef->mMethodType == BfMethodType_CtorNoBody)
|
||||||
declRequired = true;
|
declRequired = true;
|
||||||
|
|
||||||
|
if ((methodDef->mMethodType == BfMethodType_Ctor) && (methodDef->mIsOverride))
|
||||||
|
{
|
||||||
|
// From extension
|
||||||
|
implRequired = true;
|
||||||
|
}
|
||||||
|
|
||||||
if ((methodDef->mIsStatic) &&
|
if ((methodDef->mIsStatic) &&
|
||||||
((methodDef->mMethodType == BfMethodType_Dtor) || (methodDef->mMethodType == BfMethodType_Ctor)))
|
((methodDef->mMethodType == BfMethodType_Dtor) || (methodDef->mMethodType == BfMethodType_Ctor)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue