1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed default ctor base ctor calling when base has extensions

This commit is contained in:
Brian Fiete 2022-02-22 08:14:17 -08:00
parent c91c81f77d
commit c2490278fa

View file

@ -17622,6 +17622,12 @@ void BfModule::EmitCtorBody(bool& skipBody)
{
if (checkMethodDef->mParams.size() == 0)
{
if (matchedMethod != NULL)
{
// Has multiple matched methods - can happen from extensions
matchedMethod = NULL;
break;
}
matchedMethod = checkMethodDef;
}
else if (isHiddenGenerated)