Browse Source

Ctor override implRequired

Brian Fiete 7 months ago
parent
commit
624e36b89b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      IDEHelper/Compiler/BfModuleTypeUtils.cpp

+ 6 - 0
IDEHelper/Compiler/BfModuleTypeUtils.cpp

@@ -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)))
 			{